Updated henchman inventory

turned off their combat one-liners
and added treasure script to destroy itself 30s after closing
This commit is contained in:
EpicValor
2023-09-14 18:46:27 -05:00
parent 73e6fc3e79
commit 70cd1ac3e2
23 changed files with 485 additions and 920 deletions

View File

@@ -1142,7 +1142,7 @@
},
"Gender": {
"type": "byte",
"value": 1
"value": 0
},
"GoodEvil": {
"type": "byte",
@@ -1158,7 +1158,7 @@
},
"Interruptable": {
"type": "byte",
"value": 1
"value": 0
},
"IsImmortal": {
"type": "byte",
@@ -1175,7 +1175,7 @@
"__struct_id": 0,
"InventoryRes": {
"type": "resref",
"value": "nw_it_torch001"
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
@@ -1185,6 +1185,36 @@
"type": "word",
"value": 0
}
},
{
"__struct_id": 1,
"InventoryRes": {
"type": "resref",
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 1
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 2,
"InventoryRes": {
"type": "resref",
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 2
},
"Repos_Posy": {
"type": "word",
"value": 0
}
}
]
},
@@ -1315,7 +1345,7 @@
"__struct_id": 0,
"Rank": {
"type": "byte",
"value": 0
"value": 1
}
},
{
@@ -1364,7 +1394,7 @@
"__struct_id": 0,
"Rank": {
"type": "byte",
"value": 0
"value": 1
}
},
{
@@ -1434,7 +1464,7 @@
"__struct_id": 0,
"Rank": {
"type": "byte",
"value": 0
"value": 1
}
},
{
@@ -1687,21 +1717,6 @@
"VarTable": {
"type": "list",
"value": [
{
"__struct_id": 0,
"Name": {
"type": "cexostring",
"value": "NW_ASC_DISARM_TRAPS"
},
"Type": {
"type": "dword",
"value": 1
},
"Value": {
"type": "int",
"value": 1
}
},
{
"__struct_id": 0,
"Name": {
@@ -1732,21 +1747,6 @@
"value": 1
}
},
{
"__struct_id": 0,
"Name": {
"type": "cexostring",
"value": "NW_ASC_MODE_DEFEND_MASTER"
},
"Type": {
"type": "dword",
"value": 1
},
"Value": {
"type": "int",
"value": 1
}
},
{
"__struct_id": 0,
"Name": {
@@ -1796,7 +1796,7 @@
},
"WalkRate": {
"type": "int",
"value": 4
"value": 5
},
"willbonus": {
"type": "short",

View File

@@ -107,7 +107,7 @@
"__struct_id": 16,
"EquippedRes": {
"type": "resref",
"value": "golemlongsword"
"value": "golemgreatsword"
}
},
{
@@ -593,7 +593,7 @@
"__struct_id": 0,
"InventoryRes": {
"type": "resref",
"value": "golemgreatsword"
"value": "golemlongsword"
},
"Repos_PosX": {
"type": "word",
@@ -603,6 +603,51 @@
"type": "word",
"value": 0
}
},
{
"__struct_id": 1,
"InventoryRes": {
"type": "resref",
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 1
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 2,
"InventoryRes": {
"type": "resref",
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 2
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 3,
"InventoryRes": {
"type": "resref",
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 3
},
"Repos_Posy": {
"type": "word",
"value": 0
}
}
]
},
@@ -1104,12 +1149,27 @@
"type": "int",
"value": 1
}
},
{
"__struct_id": 0,
"Name": {
"type": "cexostring",
"value": "X4_L_AI_COMBAT_DEFENSE"
},
"Type": {
"type": "dword",
"value": 1
},
"Value": {
"type": "int",
"value": 1
}
}
]
},
"WalkRate": {
"type": "int",
"value": 4
"value": 5
},
"willbonus": {
"type": "short",

View File

@@ -75,6 +75,34 @@
"Equip_ItemList": {
"type": "list",
"value": [
{
"__struct_id": 1,
"EquippedRes": {
"type": "resref",
"value": "golemhelmet"
}
},
{
"__struct_id": 2,
"EquippedRes": {
"type": "resref",
"value": "golemarmor"
}
},
{
"__struct_id": 4,
"EquippedRes": {
"type": "resref",
"value": "golemboots"
}
},
{
"__struct_id": 8,
"EquippedRes": {
"type": "resref",
"value": "golembracer"
}
},
{
"__struct_id": 16,
"EquippedRes": {
@@ -89,6 +117,41 @@
"value": "golemdagger"
}
},
{
"__struct_id": 64,
"EquippedRes": {
"type": "resref",
"value": "golemcloak"
}
},
{
"__struct_id": 128,
"EquippedRes": {
"type": "resref",
"value": "golemring"
}
},
{
"__struct_id": 256,
"EquippedRes": {
"type": "resref",
"value": "golemring001"
}
},
{
"__struct_id": 512,
"EquippedRes": {
"type": "resref",
"value": "golemamulet"
}
},
{
"__struct_id": 1024,
"EquippedRes": {
"type": "resref",
"value": "golembelt"
}
},
{
"__struct_id": 16384,
"EquippedRes": {
@@ -399,7 +462,7 @@
},
"Gender": {
"type": "byte",
"value": 1
"value": 0
},
"GoodEvil": {
"type": "byte",
@@ -432,7 +495,7 @@
"__struct_id": 0,
"InventoryRes": {
"type": "resref",
"value": "nw_it_torch001"
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
@@ -447,7 +510,7 @@
"__struct_id": 1,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap001"
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
@@ -462,255 +525,15 @@
"__struct_id": 2,
"InventoryRes": {
"type": "resref",
"value": "nw_it_mpotion012"
},
"Repos_PosX": {
"type": "word",
"value": 3
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 3,
"InventoryRes": {
"type": "resref",
"value": "nw_it_mpotion012"
},
"Repos_PosX": {
"type": "word",
"value": 4
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 4,
"InventoryRes": {
"type": "resref",
"value": "nw_it_mpotion012"
},
"Repos_PosX": {
"type": "word",
"value": 5
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 5,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap042"
},
"Repos_PosX": {
"type": "word",
"value": 6
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 6,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap026"
},
"Repos_PosX": {
"type": "word",
"value": 8
},
"Repos_Posy": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 7,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap002"
},
"Repos_PosX": {
"type": "word",
"value": 1
},
"Repos_Posy": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 8,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap029"
},
"Repos_PosX": {
"type": "word",
"value": 3
},
"Repos_Posy": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 9,
"InventoryRes": {
"type": "resref",
"value": "nw_it_trap037"
},
"Repos_PosX": {
"type": "word",
"value": 5
},
"Repos_Posy": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 10,
"InventoryRes": {
"type": "resref",
"value": "golemamulet"
},
"Repos_PosX": {
"type": "word",
"value": 7
},
"Repos_Posy": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 11,
"InventoryRes": {
"type": "resref",
"value": "golemarmor"
},
"Repos_PosX": {
"type": "word",
"value": 8
},
"Repos_Posy": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 12,
"InventoryRes": {
"type": "resref",
"value": "golembelt"
},
"Repos_PosX": {
"type": "word",
"value": 0
},
"Repos_Posy": {
"type": "word",
"value": 4
}
},
{
"__struct_id": 13,
"InventoryRes": {
"type": "resref",
"value": "golemboots"
"value": "it_mpotion013"
},
"Repos_PosX": {
"type": "word",
"value": 2
},
"Repos_Posy": {
"type": "word",
"value": 4
}
},
{
"__struct_id": 14,
"InventoryRes": {
"type": "resref",
"value": "golembracer"
},
"Repos_PosX": {
"type": "word",
"value": 4
},
"Repos_Posy": {
"type": "word",
"value": 4
}
},
{
"__struct_id": 15,
"InventoryRes": {
"type": "resref",
"value": "golemcloak"
},
"Repos_PosX": {
"type": "word",
"value": 0
},
"Repos_Posy": {
"type": "word",
"value": 6
}
},
{
"__struct_id": 16,
"InventoryRes": {
"type": "resref",
"value": "golemhelmet"
},
"Repos_PosX": {
"type": "word",
"value": 6
},
"Repos_Posy": {
"type": "word",
"value": 4
}
},
{
"__struct_id": 17,
"InventoryRes": {
"type": "resref",
"value": "golemring"
},
"Repos_PosX": {
"type": "word",
"value": 0
},
"Repos_Posy": {
"type": "word",
"value": 3
}
},
{
"__struct_id": 18,
"InventoryRes": {
"type": "resref",
"value": "golemring001"
},
"Repos_PosX": {
"type": "word",
"value": 0
},
"Repos_Posy": {
"type": "word",
"value": 5
}
}
]
@@ -940,7 +763,7 @@
"__struct_id": 0,
"Rank": {
"type": "byte",
"value": 0
"value": 1
}
},
{
@@ -1308,7 +1131,7 @@
},
"WalkRate": {
"type": "int",
"value": 4
"value": 5
},
"willbonus": {
"type": "short",