Added a convo node to get the gold your henchman picks up
ran the external compiler just in case, and it made new .ncs
This commit is contained in:
parent
a0d5f98f53
commit
d8cc875ac4
@ -2913,7 +2913,7 @@
|
||||
},
|
||||
"Version": {
|
||||
"type": "dword",
|
||||
"value": 37
|
||||
"value": 38
|
||||
},
|
||||
"Width": {
|
||||
"type": "int",
|
||||
|
@ -591,7 +591,7 @@
|
||||
},
|
||||
"Version": {
|
||||
"type": "dword",
|
||||
"value": 11
|
||||
"value": 12
|
||||
},
|
||||
"Width": {
|
||||
"type": "int",
|
||||
|
@ -849,7 +849,7 @@
|
||||
},
|
||||
"Version": {
|
||||
"type": "dword",
|
||||
"value": 27
|
||||
"value": 28
|
||||
},
|
||||
"Width": {
|
||||
"type": "int",
|
||||
|
File diff suppressed because it is too large
Load Diff
171
_module/dlg/golemgold.dlg.json
Normal file
171
_module/dlg/golemgold.dlg.json
Normal file
@ -0,0 +1,171 @@
|
||||
{
|
||||
"__data_type": "DLG ",
|
||||
"DelayEntry": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"DelayReply": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"EndConverAbort": {
|
||||
"type": "resref",
|
||||
"value": "nw_walk_wp"
|
||||
},
|
||||
"EndConversation": {
|
||||
"type": "resref",
|
||||
"value": "nw_walk_wp"
|
||||
},
|
||||
"EntryList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"ActionParams": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"Animation": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"AnimLoop": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"Delay": {
|
||||
"type": "dword",
|
||||
"value": 4294967295
|
||||
},
|
||||
"Quest": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"RepliesList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Active": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"ConditionParams": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"Index": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"IsChild": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Script": {
|
||||
"type": "resref",
|
||||
"value": "golemgold"
|
||||
},
|
||||
"Sound": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"Speaker": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"Text": {
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NumWords": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"PreventZoomIn": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"ReplyList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"ActionParams": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"Animation": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"AnimLoop": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"Delay": {
|
||||
"type": "dword",
|
||||
"value": 4294967295
|
||||
},
|
||||
"EntriesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"Quest": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"Script": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"Sound": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"Text": {
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"StartingList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Active": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"ConditionParams": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"Index": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -37,7 +37,50 @@
|
||||
},
|
||||
"List": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Placeable List": {
|
||||
"type": "list",
|
||||
|
@ -4352,7 +4352,572 @@
|
||||
},
|
||||
"List": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 15.64285945892334
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 31.65051460266113
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": 8.940696716308594e-008
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 14.05580615997315
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 32.73374176025391
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": 8.940696716308594e-008
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 11.28475856781006
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 33.59024810791016
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": -1.341104507446289e-006
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 8.13584041595459
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 33.53986358642578
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": -4.76837158203125e-007
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 12.69547367095947
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 34.22003173828125
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": -3.874301910400391e-007
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"AddCost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"BaseItem": {
|
||||
"type": "int",
|
||||
"value": 76
|
||||
},
|
||||
"Charges": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Cost": {
|
||||
"type": "dword",
|
||||
"value": 0
|
||||
},
|
||||
"Cursed": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"DescIdentified": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Description": {
|
||||
"type": "cexolocstring",
|
||||
"value": {}
|
||||
},
|
||||
"Identified": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"LocalizedName": {
|
||||
"id": 535,
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "100gp"
|
||||
}
|
||||
},
|
||||
"ModelPart1": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"Plot": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"PropertiesList": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"StackSize": {
|
||||
"type": "word",
|
||||
"value": 100
|
||||
},
|
||||
"Stolen": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "100gp"
|
||||
},
|
||||
"TemplateResRef": {
|
||||
"type": "resref",
|
||||
"value": "100gp"
|
||||
},
|
||||
"xModelPart1": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"XOrientation": {
|
||||
"type": "float",
|
||||
"value": 0.0
|
||||
},
|
||||
"XPosition": {
|
||||
"type": "float",
|
||||
"value": 12.89700412750244
|
||||
},
|
||||
"YOrientation": {
|
||||
"type": "float",
|
||||
"value": 1.0
|
||||
},
|
||||
"YPosition": {
|
||||
"type": "float",
|
||||
"value": 32.91007995605469
|
||||
},
|
||||
"ZPosition": {
|
||||
"type": "float",
|
||||
"value": -3.874301910400391e-007
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Placeable List": {
|
||||
"type": "list",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5593,6 +5593,36 @@
|
||||
"type": "dword",
|
||||
"value": 1
|
||||
},
|
||||
"Value": {
|
||||
"type": "int",
|
||||
"value": 40
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Name": {
|
||||
"type": "cexostring",
|
||||
"value": "always-roll-max-hitpoints-on-levelup"
|
||||
},
|
||||
"Type": {
|
||||
"type": "dword",
|
||||
"value": 3
|
||||
},
|
||||
"Value": {
|
||||
"type": "cexostring",
|
||||
"value": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Name": {
|
||||
"type": "cexostring",
|
||||
"value": "always-roll-max-hitpoints-on-levelup"
|
||||
},
|
||||
"Type": {
|
||||
"type": "dword",
|
||||
"value": 1
|
||||
},
|
||||
"Value": {
|
||||
"type": "int",
|
||||
"value": 1
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
_module/ncs/golemgold.ncs
Normal file
BIN
_module/ncs/golemgold.ncs
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -10,7 +10,7 @@ void main()
|
||||
int bFound = FALSE;
|
||||
string sName;
|
||||
location lCenter = GetLocation(OBJECT_SELF);
|
||||
object oThing = GetFirstObjectInShape(SHAPE_SPHERE,15.0,lCenter,TRUE,OBJECT_TYPE_PLACEABLE | OBJECT_TYPE_ITEM);
|
||||
object oThing = GetFirstObjectInShape(SHAPE_SPHERE,60.0,lCenter,TRUE,OBJECT_TYPE_PLACEABLE | OBJECT_TYPE_ITEM);
|
||||
while(GetIsObjectValid(oThing))
|
||||
{
|
||||
if(GetObjectType(oThing)==OBJECT_TYPE_ITEM)
|
||||
@ -23,8 +23,10 @@ void main()
|
||||
case BASE_ITEM_ARMOR:*/
|
||||
sName = GetName(oThing);
|
||||
TurnToFaceObject(oThing);
|
||||
ActionMoveToObject (oThing, TRUE, 1.0f);
|
||||
ActionPickUpItem(oThing);
|
||||
ActionDoCommand(SendMessageToPC(oMaster,GetName(OBJECT_SELF)+" picked up "+sName+"."));
|
||||
|
||||
/*break;
|
||||
|
||||
default:
|
||||
@ -41,12 +43,12 @@ void main()
|
||||
|| (GetIsTrapped(oThing) && !GetTrapDetectedBy(oThing,OBJECT_SELF))))
|
||||
{
|
||||
bFound = TRUE;
|
||||
ActionMoveToObject(oThing);
|
||||
ActionMoveToObject (oThing, TRUE, 1.0f);
|
||||
ActionDoCommand(AssignCommand(oThing,PlayAnimation(ANIMATION_PLACEABLE_OPEN)));
|
||||
//ActionInteractObject(oThing);
|
||||
//ActionDoCommand(DoPlaceableObjectAction(oThing,PLACEABLE_ACTION_USE));
|
||||
TurnToFaceObject(oThing);
|
||||
ActionPlayAnimation(ANIMATION_LOOPING_GET_MID,1.0,3.0);
|
||||
ActionPlayAnimation(ANIMATION_LOOPING_GET_MID,2.0,0.5);
|
||||
object oItem = GetFirstItemInInventory(oThing);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
@ -57,6 +59,7 @@ void main()
|
||||
case BASE_ITEM_ARMOR:*/
|
||||
ActionDoCommand(SendMessageToPC(oMaster,GetName(OBJECT_SELF)+" picked up "+GetName(oItem)+" from "+GetName(oThing)+"."));
|
||||
ActionTakeItem(oItem,oThing);
|
||||
|
||||
/* break;
|
||||
default:
|
||||
break;
|
||||
@ -67,11 +70,15 @@ void main()
|
||||
}
|
||||
}
|
||||
} // else
|
||||
oThing = GetNextObjectInShape(SHAPE_SPHERE,15.0,lCenter,TRUE,OBJECT_TYPE_PLACEABLE | OBJECT_TYPE_ITEM);
|
||||
oThing = GetNextObjectInShape(SHAPE_SPHERE,60.0,lCenter,TRUE,OBJECT_TYPE_PLACEABLE | OBJECT_TYPE_ITEM);
|
||||
} // while(GetIsObjectValid(oThing))
|
||||
|
||||
ActionDoCommand(SetAssociateState(NW_ASC_IS_BUSY,FALSE));
|
||||
|
||||
if(!bFound)
|
||||
SpeakString("I don't see where I can find any around here.");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -894,6 +894,16 @@ void bkRespondToHenchmenShout(object oShouter, int nShoutIndex, object oIntruder
|
||||
if(GetAssociateType(OBJECT_SELF) == ASSOCIATE_TYPE_HENCHMAN)
|
||||
{
|
||||
FireHenchman(GetMaster(), OBJECT_SELF);
|
||||
location lHome = GetLocation(GetObjectByTag("golemhome"));
|
||||
ClearAllActions();
|
||||
location lTarget = GetLocation(OBJECT_SELF);
|
||||
ActionCastFakeSpellAtObject(SPELL_MINOR_GLOBE_OF_INVULNERABILITY, OBJECT_SELF);
|
||||
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_3), lTarget, 5.0));
|
||||
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_LIGHT_RED_20), lTarget, 30.0));
|
||||
AssignCommand(OBJECT_SELF, DelayCommand(6.1, JumpToLocation(lHome)));
|
||||
DelayCommand(5.9, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_3), lHome, 5.0));
|
||||
DelayCommand(5.9, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_LIGHT_RED_20), lHome, 30.0));
|
||||
DestroyObject(OBJECT_SELF, 10.0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
11
_module/nss/golemgold.nss
Normal file
11
_module/nss/golemgold.nss
Normal file
@ -0,0 +1,11 @@
|
||||
//golemgold
|
||||
#include "69_inc_henai"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMaster = GetMaster();
|
||||
int gGold = GetGold (OBJECT_SELF);
|
||||
ActionDoCommand (GiveGoldToAllEqually (oMaster, gGold));
|
||||
TakeGold (gGold, OBJECT_SELF, TRUE);
|
||||
}
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user