MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | #pragma strong_types,rtt_checks |
| 2 | |
| 3 | inherit "/std/lightsource"; |
| 4 | |
| 5 | #include <properties.h> |
| 6 | #include <language.h> |
| 7 | |
| 8 | protected void create() { |
| 9 | lightsource::create(); |
| 10 | AddId(({"fackel","\nfackel"})); |
| 11 | SetProp(P_NAME,"Fackel"); |
| 12 | SetProp(P_VALUE,5); |
| 13 | SetProp(P_WEIGHT,1000); |
| 14 | SetProp(P_GENDER,FEMALE); |
| 15 | SetProp(P_SHORT,"Eine Fackel"); |
| 16 | SetProp(P_LONG,"Eine ganz normale Fackel. Man kann sie anzuenden und wieder loeschen.\n"); |
| 17 | SetProp(P_ARTICLE,1); |
| 18 | SetProp(P_FUEL,2000); |
| 19 | SetProp(P_LIGHTDESC, |
| 20 | ({"glimmend","flackernd","leicht flackernd","brennend", |
| 21 | "hell lodernd","frisch angezuendet"})); |
| 22 | SetProp(P_LIGHT_TYPE, LT_TORCH); |
| 23 | SetProp(P_MATERIAL,([MAT_MISC_WOOD:100])); |
| 24 | } |