MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | #include <properties.h> |
| 2 | #include <combat.h> |
| 3 | inherit "std/armour"; |
| 4 | |
| 5 | create() |
| 6 | { |
| 7 | if (!clonep(this_object())) return; |
| 8 | ::create(); |
| 9 | SetProp(P_SHORT, "Eine Orkhose"); |
| 10 | SetProp(P_LONG, "Die Beinbekleidung von Orks.\n"); |
| 11 | SetProp(P_NAME, "Hose"); |
| 12 | SetProp(P_GENDER, 2); |
| 13 | SetProp(P_ARMOUR_TYPE, AT_TROUSERS); |
| 14 | SetProp(P_AC, 7); |
| 15 | SetProp(P_WEIGHT, 555); |
| 16 | SetProp(P_VALUE, 480 + random(40)); |
| 17 | SetProp(P_MATERIAL, ([MAT_CLOTH:99, MAT_SHIT:1])); |
| 18 | AddId(({"hose", "hosen", "orkhose", "orkhosen"})); |
| 19 | } |