summaryrefslogtreecommitdiff
path: root/server/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'server/scripts')
-rw-r--r--server/scripts/constants.md62
-rw-r--r--server/scripts/script_commands.txt4
2 files changed, 63 insertions, 3 deletions
diff --git a/server/scripts/constants.md b/server/scripts/constants.md
index 40d9a26..97dffcc 100644
--- a/server/scripts/constants.md
+++ b/server/scripts/constants.md
@@ -1316,6 +1316,7 @@
- `SC_TUNAPARTY`: 649
- `SC_SHRIMP`: 650
- `SC_FRESHSHRIMP`: 651
+- `SC_DAILYSENDMAILCNT`: 653
- `SC_DRESS_UP`: 652
### Emotes
@@ -3721,6 +3722,7 @@
- `SEX_FEMALE`: 0
- `SEX_MALE`: 1
+- `SEX_ANY`: 2
### Script Unit Data Types
@@ -3911,6 +3913,14 @@
- `EQP_SHADOW_SHOES`: 524288
- `EQP_SHADOW_ACC_R`: 1048576
- `EQP_SHADOW_ACC_L`: 2097152
+- `EQP_WEAPON`: 2
+- `EQP_SHIELD`: 32
+- `EQP_ARMS`: 34
+- `EQP_HELM`: 769
+- `EQP_ACC`: 136
+- `EQP_COSTUME`: 15360
+- `EQP_SHADOW_ACC`: 3145728
+- `EQP_SHADOW_ARMS`: 393216
### Item Option Types
@@ -3994,6 +4004,56 @@
- `DATATYPE_VAR`: 4096
- `DATATYPE_LABEL`: 8192
+### Item Subtypes (Weapon types)
+
+- `W_FIST`: 0
+- `W_DAGGER`: 1
+- `W_1HSWORD`: 2
+- `W_2HSWORD`: 3
+- `W_1HSPEAR`: 4
+- `W_2HSPEAR`: 5
+- `W_1HAXE`: 6
+- `W_2HAXE`: 7
+- `W_MACE`: 8
+- `W_2HMACE`: 9
+- `W_STAFF`: 10
+- `W_BOW`: 11
+- `W_KNUCKLE`: 12
+- `W_MUSICAL`: 13
+- `W_WHIP`: 14
+- `W_BOOK`: 15
+- `W_KATAR`: 16
+- `W_REVOLVER`: 17
+- `W_RIFLE`: 18
+- `W_GATLING`: 19
+- `W_SHOTGUN`: 20
+- `W_GRENADE`: 21
+- `W_HUUMA`: 22
+- `W_2HSTAFF`: 23
+
+### Item Subtypes (Ammunition types)
+
+- `A_ARROW`: 1
+- `A_DAGGER`: 2
+- `A_BULLET`: 3
+- `A_SHELL`: 4
+- `A_GRENADE`: 5
+- `A_SHURIKEN`: 6
+- `A_KUNAI`: 7
+- `A_CANNONBALL`: 8
+- `A_THROWWEAPON`: 9
+
+### Item Upper Masks
+
+- `ITEMUPPER_NONE`: 0
+- `ITEMUPPER_NORMAL`: 1
+- `ITEMUPPER_UPPER`: 2
+- `ITEMUPPER_BABY`: 4
+- `ITEMUPPER_THIRD`: 8
+- `ITEMUPPER_THIRDUPPER`: 16
+- `ITEMUPPER_THIRDBABY`: 32
+- `ITEMUPPER_ALL`: 63
+
### Renewal
- `RENEWAL`: 1
@@ -8476,7 +8536,7 @@
- `Egir_Shoes`: 2495
- `TE_Woe_Shoes`: 2496
- `TE_Woe_Boots`: 2497
-- `TE_WoE_Magic_Sandal`: 2498
+- `TE_Woe_Magic_Sandal`: 2498
- `Temporal_Boots`: 2499
- `Hood`: 2501
- `Hood_`: 2502
diff --git a/server/scripts/script_commands.txt b/server/scripts/script_commands.txt
index 779cd27..79d6091 100644
--- a/server/scripts/script_commands.txt
+++ b/server/scripts/script_commands.txt
@@ -3186,7 +3186,7 @@ Valid types are:
if = 0, then monsters don't drop it at all (rare or a quest item)
if = 10000, then this item is sold in NPC shops only
4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;
- 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id
+ 10 - slot; 11 - subtype; 12 - elv; 13 - wlv; 14 - view id
If RENEWAL is defined, 15 - matk
@@ -8251,7 +8251,7 @@ Valid types are:
if = 0, then monsters don't drop it at all (rare or a quest item)
if = 10000, then this item is sold in NPC shops only
4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;
- 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id
+ 10 - slot; 11 - subtype; 12 - elv; 13 - wlv; 14 - view id
Example: