From dfb15e43ec0e8dc328e9b32fb4b22b4ed11d47f8 Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:52:10 -0500 Subject: [PATCH] Tweaked resource locations Tweaked resource locations. Full compile. --- _module/are/adream2.are.json | 6 +- _module/are/coastsoutheast.are.json | 6 +- _module/are/ranzingtonscrypt.are.json | 6 +- _module/are/rustinroadcave.are.json | 6 +- _module/are/serisisland.are.json | 6 +- _module/are/serisislandkobol.are.json | 6 +- _module/gic/adream2.gic.json | 7 + _module/gic/coastsoutheast.gic.json | 21 + _module/gic/ranzingtonscrypt.gic.json | 21 + _module/gic/serisisland.gic.json | 14 + _module/gic/serisislandkobol.gic.json | 14 + _module/git/adream2.git.json | 1322 +++++++++++++++++++++++++ _module/git/coastsoutheast.git.json | 185 +++- _module/git/ranzingtonscrypt.git.json | 183 ++++ _module/git/rustinroadcave.git.json | 36 +- _module/git/serisisland.git.json | 184 +++- _module/git/serisislandkobol.git.json | 498 ++++++---- _module/ncs/cnr_source_init.ncs | Bin 1888 -> 2421 bytes _module/ncs/hcrh_setdmresrv.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setgivelvl.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setlvlcost.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setpktrack.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setrest.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setrezchnce.ncs | Bin 260 -> 340 bytes _module/ncs/hcrh_setsumtime.ncs | Bin 261 -> 341 bytes _module/ncs/light_decay.ncs | Bin 163 -> 179 bytes _module/ncs/nw_c2_default7.ncs | Bin 0 -> 2453 bytes _module/nss/cnr_source_init.nss | 21 + _module/nss/nw_c2_default7.nss | 113 +++ 29 files changed, 2411 insertions(+), 244 deletions(-) create mode 100644 _module/ncs/nw_c2_default7.ncs create mode 100644 _module/nss/nw_c2_default7.nss diff --git a/_module/are/adream2.are.json b/_module/are/adream2.are.json index 718396e4..29c82f87 100644 --- a/_module/are/adream2.are.json +++ b/_module/are/adream2.are.json @@ -3638,13 +3638,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "ttf01" }, "Version": { "type": "dword", - "value": 115 + "value": 116 }, "Width": { "type": "int", diff --git a/_module/are/coastsoutheast.are.json b/_module/are/coastsoutheast.are.json index e851090e..4553fafd 100644 --- a/_module/are/coastsoutheast.are.json +++ b/_module/are/coastsoutheast.are.json @@ -11163,13 +11163,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "ttr01" }, "Version": { "type": "dword", - "value": 28 + "value": 29 }, "Width": { "type": "int", diff --git a/_module/are/ranzingtonscrypt.are.json b/_module/are/ranzingtonscrypt.are.json index d39ba355..55330f5c 100644 --- a/_module/are/ranzingtonscrypt.are.json +++ b/_module/are/ranzingtonscrypt.are.json @@ -2907,13 +2907,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "tdc01" }, "Version": { "type": "dword", - "value": 33 + "value": 34 }, "Width": { "type": "int", diff --git a/_module/are/rustinroadcave.are.json b/_module/are/rustinroadcave.are.json index a1ccc5c4..176e3430 100644 --- a/_module/are/rustinroadcave.are.json +++ b/_module/are/rustinroadcave.are.json @@ -2907,13 +2907,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "tdm01" }, "Version": { "type": "dword", - "value": 48 + "value": 49 }, "Width": { "type": "int", diff --git a/_module/are/serisisland.are.json b/_module/are/serisisland.are.json index 139fe10a..d06518ef 100644 --- a/_module/are/serisisland.are.json +++ b/_module/are/serisisland.are.json @@ -11163,13 +11163,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "ttr01" }, "Version": { "type": "dword", - "value": 31 + "value": 32 }, "Width": { "type": "int", diff --git a/_module/are/serisislandkobol.are.json b/_module/are/serisislandkobol.are.json index 2efe8c7e..cf8720df 100644 --- a/_module/are/serisislandkobol.are.json +++ b/_module/are/serisislandkobol.are.json @@ -2907,13 +2907,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "tdm01" }, "Version": { "type": "dword", - "value": 20 + "value": 21 }, "Width": { "type": "int", diff --git a/_module/gic/adream2.gic.json b/_module/gic/adream2.gic.json index cd1e4248..e678a91e 100644 --- a/_module/gic/adream2.gic.json +++ b/_module/gic/adream2.gic.json @@ -108,6 +108,13 @@ "value": "" } }, + { + "__struct_id": 4, + "Comment": { + "type": "cexostring", + "value": "" + } + }, { "__struct_id": 4, "Comment": { diff --git a/_module/gic/coastsoutheast.gic.json b/_module/gic/coastsoutheast.gic.json index f64748c8..83fff06c 100644 --- a/_module/gic/coastsoutheast.gic.json +++ b/_module/gic/coastsoutheast.gic.json @@ -181,6 +181,27 @@ "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." } }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, { "__struct_id": 5, "Comment": { diff --git a/_module/gic/ranzingtonscrypt.gic.json b/_module/gic/ranzingtonscrypt.gic.json index 9769cf12..fc8f503c 100644 --- a/_module/gic/ranzingtonscrypt.gic.json +++ b/_module/gic/ranzingtonscrypt.gic.json @@ -409,6 +409,27 @@ "WaypointList": { "type": "list", "value": [ + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, { "__struct_id": 5, "Comment": { diff --git a/_module/gic/serisisland.gic.json b/_module/gic/serisisland.gic.json index 476f0b68..678f1cdd 100644 --- a/_module/gic/serisisland.gic.json +++ b/_module/gic/serisisland.gic.json @@ -415,6 +415,20 @@ "type": "cexostring", "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } } ] } diff --git a/_module/gic/serisislandkobol.gic.json b/_module/gic/serisislandkobol.gic.json index 1a332d45..52578012 100644 --- a/_module/gic/serisislandkobol.gic.json +++ b/_module/gic/serisislandkobol.gic.json @@ -228,6 +228,20 @@ "value": "" } }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "" + } + }, { "__struct_id": 5, "Comment": { diff --git a/_module/git/adream2.git.json b/_module/git/adream2.git.json index ba926f51..048ac24c 100644 --- a/_module/git/adream2.git.json +++ b/_module/git/adream2.git.json @@ -15089,6 +15089,1328 @@ "type": "float", "value": -5.222045729169622e-006 } + }, + { + "__struct_id": 4, + "Appearance_Type": { + "type": "word", + "value": 146 + }, + "BodyBag": { + "type": "byte", + "value": 0 + }, + "Cha": { + "type": "byte", + "value": 13 + }, + "ChallengeRating": { + "type": "float", + "value": 3.0 + }, + "ClassList": { + "type": "list", + "value": [ + { + "__struct_id": 2, + "Class": { + "type": "int", + "value": 19 + }, + "ClassLevel": { + "type": "short", + "value": 3 + } + } + ] + }, + "Con": { + "type": "byte", + "value": 10 + }, + "Conversation": { + "type": "resref", + "value": "" + }, + "CRAdjust": { + "type": "int", + "value": 0 + }, + "CurrentHitPoints": { + "type": "short", + "value": 19 + }, + "DecayTime": { + "type": "dword", + "value": 0 + }, + "Deity": { + "type": "cexostring", + "value": "" + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "Dex": { + "type": "byte", + "value": 14 + }, + "Disarmable": { + "type": "byte", + "value": 0 + }, + "Equip_ItemList": { + "type": "list", + "value": [ + { + "__struct_id": 16384, + "AddCost": { + "type": "dword", + "value": 0 + }, + "BaseItem": { + "type": "int", + "value": 71 + }, + "Charges": { + "type": "byte", + "value": 0 + }, + "Cost": { + "type": "dword", + "value": 80 + }, + "Cursed": { + "type": "byte", + "value": 0 + }, + "DescIdentified": { + "type": "cexolocstring", + "value": {} + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "Identified": { + "type": "byte", + "value": 0 + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "id": 13215 + } + }, + "ModelPart1": { + "type": "byte", + "value": 1 + }, + "Plot": { + "type": "byte", + "value": 0 + }, + "PropertiesList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 19 + }, + "CostValue": { + "type": "word", + "value": 1 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 77 + }, + "Subtype": { + "type": "word", + "value": 0 + } + } + ] + }, + "StackSize": { + "type": "word", + "value": 1 + }, + "Stolen": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "NW_IT_CREWPB001" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_it_crewpb001" + }, + "xModelPart1": { + "type": "word", + "value": 1 + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": -1.0 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": -1.0 + }, + "ZPosition": { + "type": "float", + "value": -1.0 + } + }, + { + "__struct_id": 32768, + "AddCost": { + "type": "dword", + "value": 0 + }, + "BaseItem": { + "type": "int", + "value": 71 + }, + "Charges": { + "type": "byte", + "value": 0 + }, + "Cost": { + "type": "dword", + "value": 80 + }, + "Cursed": { + "type": "byte", + "value": 0 + }, + "DescIdentified": { + "type": "cexolocstring", + "value": {} + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "Identified": { + "type": "byte", + "value": 0 + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "id": 13215 + } + }, + "ModelPart1": { + "type": "byte", + "value": 1 + }, + "Plot": { + "type": "byte", + "value": 0 + }, + "PropertiesList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 19 + }, + "CostValue": { + "type": "word", + "value": 1 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 77 + }, + "Subtype": { + "type": "word", + "value": 0 + } + } + ] + }, + "StackSize": { + "type": "word", + "value": 1 + }, + "Stolen": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "NW_IT_CREWPB001" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_it_crewpb001" + }, + "xModelPart1": { + "type": "word", + "value": 1 + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": -1.0 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": -1.0 + }, + "ZPosition": { + "type": "float", + "value": -1.0 + } + }, + { + "__struct_id": 65536, + "AddCost": { + "type": "dword", + "value": 0 + }, + "BaseItem": { + "type": "int", + "value": 71 + }, + "Charges": { + "type": "byte", + "value": 0 + }, + "Cost": { + "type": "dword", + "value": 80 + }, + "Cursed": { + "type": "byte", + "value": 0 + }, + "DescIdentified": { + "type": "cexolocstring", + "value": {} + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "Identified": { + "type": "byte", + "value": 0 + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "id": 13215 + } + }, + "ModelPart1": { + "type": "byte", + "value": 1 + }, + "Plot": { + "type": "byte", + "value": 0 + }, + "PropertiesList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 19 + }, + "CostValue": { + "type": "word", + "value": 1 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 77 + }, + "Subtype": { + "type": "word", + "value": 0 + } + } + ] + }, + "StackSize": { + "type": "word", + "value": 1 + }, + "Stolen": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "NW_IT_CREWPB001" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_it_crewpb001" + }, + "xModelPart1": { + "type": "word", + "value": 1 + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": -1.0 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": -1.0 + }, + "ZPosition": { + "type": "float", + "value": -1.0 + } + }, + { + "__struct_id": 131072, + "AddCost": { + "type": "dword", + "value": 0 + }, + "BaseItem": { + "type": "int", + "value": 73 + }, + "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": 0 + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "id": 13205 + } + }, + "ModelPart1": { + "type": "byte", + "value": 1 + }, + "Plot": { + "type": "byte", + "value": 0 + }, + "PropertiesList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 4 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 8 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 9 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 1 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 2 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 7 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 255 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 3 + } + }, + { + "__struct_id": 0, + "ChanceAppear": { + "type": "byte", + "value": 100 + }, + "CostTable": { + "type": "byte", + "value": 0 + }, + "CostValue": { + "type": "word", + "value": 0 + }, + "Param1": { + "type": "byte", + "value": 255 + }, + "Param1Value": { + "type": "byte", + "value": 0 + }, + "PropertyName": { + "type": "word", + "value": 37 + }, + "Subtype": { + "type": "word", + "value": 0 + } + } + ] + }, + "StackSize": { + "type": "word", + "value": 1 + }, + "Stolen": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "NW_IT_CREITEMUNH" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_it_creitemunh" + }, + "xModelPart1": { + "type": "word", + "value": 1 + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": -1.0 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": -1.0 + }, + "ZPosition": { + "type": "float", + "value": -1.0 + } + } + ] + }, + "FactionID": { + "type": "word", + "value": 65535 + }, + "FeatList": { + "type": "list", + "value": [ + { + "__struct_id": 1, + "Feat": { + "type": "word", + "value": 228 + } + }, + { + "__struct_id": 1, + "Feat": { + "type": "word", + "value": 289 + } + } + ] + }, + "FirstName": { + "type": "cexolocstring", + "value": { + "0": "Shadow" + } + }, + "fortbonus": { + "type": "short", + "value": 0 + }, + "Gender": { + "type": "byte", + "value": 0 + }, + "GoodEvil": { + "type": "byte", + "value": 0 + }, + "HitPoints": { + "type": "short", + "value": 19 + }, + "Int": { + "type": "byte", + "value": 6 + }, + "Interruptable": { + "type": "byte", + "value": 0 + }, + "IsImmortal": { + "type": "byte", + "value": 0 + }, + "IsPC": { + "type": "byte", + "value": 0 + }, + "LastName": { + "type": "cexolocstring", + "value": { + "0": "" + } + }, + "LawfulChaotic": { + "type": "byte", + "value": 0 + }, + "Lootable": { + "type": "byte", + "value": 0 + }, + "MaxHitPoints": { + "type": "short", + "value": 19 + }, + "NaturalAC": { + "type": "byte", + "value": 1 + }, + "NoPermDeath": { + "type": "byte", + "value": 0 + }, + "PerceptionRange": { + "type": "byte", + "value": 11 + }, + "Phenotype": { + "type": "int", + "value": 0 + }, + "Plot": { + "type": "byte", + "value": 0 + }, + "PortraitId": { + "type": "word", + "value": 283 + }, + "Race": { + "type": "byte", + "value": 24 + }, + "refbonus": { + "type": "short", + "value": 0 + }, + "ScriptAttacked": { + "type": "resref", + "value": "nw_c2_default5" + }, + "ScriptDamaged": { + "type": "resref", + "value": "nw_c2_default6" + }, + "ScriptDeath": { + "type": "resref", + "value": "nw_c2_default7" + }, + "ScriptDialogue": { + "type": "resref", + "value": "nw_c2_default4" + }, + "ScriptDisturbed": { + "type": "resref", + "value": "nw_c2_default8" + }, + "ScriptEndRound": { + "type": "resref", + "value": "nw_c2_default3" + }, + "ScriptHeartbeat": { + "type": "resref", + "value": "nw_c2_default1" + }, + "ScriptOnBlocked": { + "type": "resref", + "value": "nw_c2_defaulte" + }, + "ScriptOnNotice": { + "type": "resref", + "value": "nw_c2_default2" + }, + "ScriptRested": { + "type": "resref", + "value": "nw_c2_defaulta" + }, + "ScriptSpawn": { + "type": "resref", + "value": "nw_c2_default9" + }, + "ScriptSpellAt": { + "type": "resref", + "value": "nw_c2_defaultb" + }, + "ScriptUserDefine": { + "type": "resref", + "value": "nw_c2_defaultd" + }, + "SkillList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + }, + { + "__struct_id": 0, + "Rank": { + "type": "byte", + "value": 0 + } + } + ] + }, + "SoundSetFile": { + "type": "word", + "value": 78 + }, + "SpecAbilityList": { + "type": "list", + "value": [ + { + "__struct_id": 4, + "Spell": { + "type": "word", + "value": 120 + }, + "SpellCasterLevel": { + "type": "byte", + "value": 15 + }, + "SpellFlags": { + "type": "byte", + "value": 1 + } + } + ] + }, + "StartingPackage": { + "type": "byte", + "value": 0 + }, + "Str": { + "type": "byte", + "value": 10 + }, + "Subrace": { + "type": "cexostring", + "value": "" + }, + "Tag": { + "type": "cexostring", + "value": "Shadow" + }, + "Tail_New": { + "type": "dword", + "value": 0 + }, + "TemplateList": { + "type": "list", + "value": [] + }, + "TemplateResRef": { + "type": "resref", + "value": "shadow" + }, + "WalkRate": { + "type": "int", + "value": 5 + }, + "willbonus": { + "type": "short", + "value": 0 + }, + "Wings_New": { + "type": "dword", + "value": 0 + }, + "Wis": { + "type": "byte", + "value": 12 + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": 79.34098815917969 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": 18.59012603759766 + }, + "ZPosition": { + "type": "float", + "value": -1.192092895507813e-006 + } } ] }, diff --git a/_module/git/coastsoutheast.git.json b/_module/git/coastsoutheast.git.json index 57073d40..a129f5e8 100644 --- a/_module/git/coastsoutheast.git.json +++ b/_module/git/coastsoutheast.git.json @@ -2153,7 +2153,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 0.8590285181999207 + "value": 0.8590283393859863 }, "X": { "type": "float", @@ -5720,6 +5720,189 @@ "type": "float", "value": 9.5367431640625e-006 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "PLANT07, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep105" + }, + "XOrientation": { + "type": "float", + "value": 0.7242472767829895 + }, + "XPosition": { + "type": "float", + "value": 71.96202850341797 + }, + "YOrientation": { + "type": "float", + "value": -0.6895403265953064 + }, + "YPosition": { + "type": "float", + "value": 136.7816925048828 + }, + "ZPosition": { + "type": "float", + "value": 5.861921310424805 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "PLANT07, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep105" + }, + "XOrientation": { + "type": "float", + "value": 0.02454144880175591 + }, + "XPosition": { + "type": "float", + "value": 85.82593536376953 + }, + "YOrientation": { + "type": "float", + "value": -0.99969881772995 + }, + "YPosition": { + "type": "float", + "value": 44.93580627441406 + }, + "ZPosition": { + "type": "float", + "value": 0.009999969974160194 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "PLANT07, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep105" + }, + "XOrientation": { + "type": "float", + "value": -0.67155921459198 + }, + "XPosition": { + "type": "float", + "value": 22.54919624328613 + }, + "YOrientation": { + "type": "float", + "value": -0.740950882434845 + }, + "YPosition": { + "type": "float", + "value": 131.7505645751953 + }, + "ZPosition": { + "type": "float", + "value": 0.01000009663403034 + } } ] } diff --git a/_module/git/ranzingtonscrypt.git.json b/_module/git/ranzingtonscrypt.git.json index c304bb7d..dbfe148a 100644 --- a/_module/git/ranzingtonscrypt.git.json +++ b/_module/git/ranzingtonscrypt.git.json @@ -8866,6 +8866,189 @@ "type": "float", "value": 1.601874828338623e-006 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "MUSHROOM1, offset 1" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep047" + }, + "XOrientation": { + "type": "float", + "value": 0.5956992506980896 + }, + "XPosition": { + "type": "float", + "value": 29.9152717590332 + }, + "YOrientation": { + "type": "float", + "value": 0.8032075762748718 + }, + "YPosition": { + "type": "float", + "value": 33.27630996704102 + }, + "ZPosition": { + "type": "float", + "value": 0.2000000178813934 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "MUSHROOM1, offset 1" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep047" + }, + "XOrientation": { + "type": "float", + "value": -0.6895406842231751 + }, + "XPosition": { + "type": "float", + "value": 44.97855377197266 + }, + "YOrientation": { + "type": "float", + "value": -0.7242469787597656 + }, + "YPosition": { + "type": "float", + "value": 56.69761657714844 + }, + "ZPosition": { + "type": "float", + "value": 0.2036042213439941 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "MUSHROOM1, offset 1" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep047" + }, + "XOrientation": { + "type": "float", + "value": -0.65317302942276 + }, + "XPosition": { + "type": "float", + "value": 76.34947967529297 + }, + "YOrientation": { + "type": "float", + "value": -0.7572087049484253 + }, + "YPosition": { + "type": "float", + "value": 76.38377380371094 + }, + "ZPosition": { + "type": "float", + "value": 0.1999999731779099 + } } ] } diff --git a/_module/git/rustinroadcave.git.json b/_module/git/rustinroadcave.git.json index 5f7b0c8e..3a960cde 100644 --- a/_module/git/rustinroadcave.git.json +++ b/_module/git/rustinroadcave.git.json @@ -457,7 +457,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 3.067928552627564 + "value": 3.067928075790405 }, "X": { "type": "float", @@ -683,7 +683,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -702,7 +702,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -717,11 +717,11 @@ }, "Difficulty": { "type": "int", - "value": 9 + "value": 5 }, "DifficultyIndex": { "type": "int", - "value": 4 + "value": 3 }, "Faction": { "type": "dword", @@ -962,7 +962,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -981,7 +981,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -996,11 +996,11 @@ }, "Difficulty": { "type": "int", - "value": 9 + "value": 5 }, "DifficultyIndex": { "type": "int", - "value": 4 + "value": 3 }, "Faction": { "type": "dword", @@ -1133,7 +1133,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 2.331647634506226 + "value": 2.331647396087647 }, "X": { "type": "float", @@ -1226,7 +1226,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -1245,7 +1245,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -1260,11 +1260,11 @@ }, "Difficulty": { "type": "int", - "value": 0 + "value": 5 }, "DifficultyIndex": { "type": "int", - "value": 4 + "value": 3 }, "Faction": { "type": "dword", @@ -1490,7 +1490,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -1509,7 +1509,7 @@ }, "CR": { "type": "float", - "value": 4.0 + "value": 5.0 }, "ResRef": { "type": "resref", @@ -1528,7 +1528,7 @@ }, "CR": { "type": "float", - "value": 11.0 + "value": 12.0 }, "ResRef": { "type": "resref", @@ -1543,7 +1543,7 @@ }, "Difficulty": { "type": "int", - "value": 9 + "value": 0 }, "DifficultyIndex": { "type": "int", diff --git a/_module/git/serisisland.git.json b/_module/git/serisisland.git.json index fd08a386..1a2d53ac 100644 --- a/_module/git/serisisland.git.json +++ b/_module/git/serisisland.git.json @@ -1070,7 +1070,7 @@ }, "CR": { "type": "float", - "value": 3.0 + "value": 4.0 }, "ResRef": { "type": "resref", @@ -1093,7 +1093,7 @@ }, "CR": { "type": "float", - "value": 14.0 + "value": 15.0 }, "ResRef": { "type": "resref", @@ -1274,7 +1274,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1293,7 +1293,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1312,7 +1312,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1331,7 +1331,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1481,7 +1481,7 @@ }, "CR": { "type": "float", - "value": 3.0 + "value": 4.0 }, "ResRef": { "type": "resref", @@ -1666,7 +1666,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1685,7 +1685,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1704,7 +1704,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1944,7 +1944,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1963,7 +1963,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -1982,7 +1982,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2132,7 +2132,7 @@ }, "CR": { "type": "float", - "value": 3.0 + "value": 4.0 }, "ResRef": { "type": "resref", @@ -2283,7 +2283,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2302,7 +2302,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2321,7 +2321,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2376,7 +2376,7 @@ }, "CR": { "type": "float", - "value": 0.25 + "value": 0.3333333432674408 }, "ResRef": { "type": "resref", @@ -2600,7 +2600,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2619,7 +2619,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2638,7 +2638,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2657,7 +2657,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2676,7 +2676,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2695,7 +2695,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -2750,7 +2750,7 @@ }, "CR": { "type": "float", - "value": 0.25 + "value": 0.3333333432674408 }, "ResRef": { "type": "resref", @@ -2807,7 +2807,7 @@ }, "CR": { "type": "float", - "value": 3.0 + "value": 4.0 }, "ResRef": { "type": "resref", @@ -3107,7 +3107,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -3126,7 +3126,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -3145,7 +3145,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141562461853027 + "value": -3.141561985015869 }, "X": { "type": "float", @@ -3554,7 +3554,7 @@ }, "CR": { "type": "float", - "value": 3.0 + "value": 4.0 }, "ResRef": { "type": "resref", @@ -3893,7 +3893,7 @@ }, "CR": { "type": "float", - "value": 15.0 + "value": 17.0 }, "ResRef": { "type": "resref", @@ -13405,6 +13405,128 @@ "type": "float", "value": 0.01000011898577213 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "CLAY, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep012" + }, + "XOrientation": { + "type": "float", + "value": -0.8314697742462158 + }, + "XPosition": { + "type": "float", + "value": 16.76742935180664 + }, + "YOrientation": { + "type": "float", + "value": -0.5555699467658997 + }, + "YPosition": { + "type": "float", + "value": 83.76017761230469 + }, + "ZPosition": { + "type": "float", + "value": -5.7220458984375e-006 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "CLAY, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep012" + }, + "XOrientation": { + "type": "float", + "value": 0.3826837241649628 + }, + "XPosition": { + "type": "float", + "value": 18.63476181030273 + }, + "YOrientation": { + "type": "float", + "value": -0.9238793849945068 + }, + "YPosition": { + "type": "float", + "value": 83.14923858642578 + }, + "ZPosition": { + "type": "float", + "value": 0.01000607013702393 + } } ] } diff --git a/_module/git/serisislandkobol.git.json b/_module/git/serisislandkobol.git.json index 7b744014..d9a3fbf1 100644 --- a/_module/git/serisislandkobol.git.json +++ b/_module/git/serisislandkobol.git.json @@ -520,7 +520,7 @@ }, "CR": { "type": "float", - "value": 0.3333333432674408 + "value": 0.5 }, "ResRef": { "type": "resref", @@ -897,7 +897,7 @@ }, "CR": { "type": "float", - "value": 0.3333333432674408 + "value": 0.5 }, "ResRef": { "type": "resref", @@ -1190,7 +1190,7 @@ }, "CR": { "type": "float", - "value": 0.3333333432674408 + "value": 0.5 }, "ResRef": { "type": "resref", @@ -1487,7 +1487,7 @@ }, "CR": { "type": "float", - "value": 0.3333333432674408 + "value": 0.5 }, "ResRef": { "type": "resref", @@ -1784,7 +1784,7 @@ }, "CR": { "type": "float", - "value": 0.3333333432674408 + "value": 0.5 }, "ResRef": { "type": "resref", @@ -6174,189 +6174,6 @@ "WaypointList": { "type": "list", "value": [ - { - "__struct_id": 5, - "Appearance": { - "type": "byte", - "value": 3 - }, - "Description": { - "type": "cexolocstring", - "value": {} - }, - "HasMapNote": { - "type": "byte", - "value": 0 - }, - "LinkedTo": { - "type": "cexostring", - "value": "" - }, - "LocalizedName": { - "type": "cexolocstring", - "value": { - "0": "METAL01, offset 0" - } - }, - "MapNote": { - "type": "cexolocstring", - "value": {} - }, - "MapNoteEnabled": { - "type": "byte", - "value": 0 - }, - "Tag": { - "type": "cexostring", - "value": "cnr_resourcepoint" - }, - "TemplateResRef": { - "type": "resref", - "value": "cnr_resourcep010" - }, - "XOrientation": { - "type": "float", - "value": 0.0 - }, - "XPosition": { - "type": "float", - "value": 49.49417114257813 - }, - "YOrientation": { - "type": "float", - "value": 1.0 - }, - "YPosition": { - "type": "float", - "value": 64.24769592285156 - }, - "ZPosition": { - "type": "float", - "value": 0.2499999850988388 - } - }, - { - "__struct_id": 5, - "Appearance": { - "type": "byte", - "value": 3 - }, - "Description": { - "type": "cexolocstring", - "value": {} - }, - "HasMapNote": { - "type": "byte", - "value": 0 - }, - "LinkedTo": { - "type": "cexostring", - "value": "" - }, - "LocalizedName": { - "type": "cexolocstring", - "value": { - "0": "METAL01, offset 0" - } - }, - "MapNote": { - "type": "cexolocstring", - "value": {} - }, - "MapNoteEnabled": { - "type": "byte", - "value": 0 - }, - "Tag": { - "type": "cexostring", - "value": "cnr_resourcepoint" - }, - "TemplateResRef": { - "type": "resref", - "value": "cnr_resourcep010" - }, - "XOrientation": { - "type": "float", - "value": 0.8932240009307861 - }, - "XPosition": { - "type": "float", - "value": 33.23796844482422 - }, - "YOrientation": { - "type": "float", - "value": 0.4496119320392609 - }, - "YPosition": { - "type": "float", - "value": 69.30213928222656 - }, - "ZPosition": { - "type": "float", - "value": 0.2499996721744537 - } - }, - { - "__struct_id": 5, - "Appearance": { - "type": "byte", - "value": 3 - }, - "Description": { - "type": "cexolocstring", - "value": {} - }, - "HasMapNote": { - "type": "byte", - "value": 0 - }, - "LinkedTo": { - "type": "cexostring", - "value": "" - }, - "LocalizedName": { - "type": "cexolocstring", - "value": { - "0": "METAL01, offset 0" - } - }, - "MapNote": { - "type": "cexolocstring", - "value": {} - }, - "MapNoteEnabled": { - "type": "byte", - "value": 0 - }, - "Tag": { - "type": "cexostring", - "value": "cnr_resourcepoint" - }, - "TemplateResRef": { - "type": "resref", - "value": "cnr_resourcep010" - }, - "XOrientation": { - "type": "float", - "value": -0.5555790662765503 - }, - "XPosition": { - "type": "float", - "value": 49.76737976074219 - }, - "YOrientation": { - "type": "float", - "value": -0.8314636945724487 - }, - "YPosition": { - "type": "float", - "value": 75.85926818847656 - }, - "ZPosition": { - "type": "float", - "value": 0.2499995231628418 - } - }, { "__struct_id": 5, "Appearance": { @@ -6636,6 +6453,311 @@ "type": "float", "value": 0.0 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "METAL02, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep013" + }, + "XOrientation": { + "type": "float", + "value": 0.6343934535980225 + }, + "XPosition": { + "type": "float", + "value": 38.73237991333008 + }, + "YOrientation": { + "type": "float", + "value": -0.7730103135108948 + }, + "YPosition": { + "type": "float", + "value": 76.04955291748047 + }, + "ZPosition": { + "type": "float", + "value": 0.2440319061279297 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "METAL02, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep013" + }, + "XOrientation": { + "type": "float", + "value": 0.4275552928447723 + }, + "XPosition": { + "type": "float", + "value": 48.48181915283203 + }, + "YOrientation": { + "type": "float", + "value": -0.9039891958236694 + }, + "YPosition": { + "type": "float", + "value": 75.98097991943359 + }, + "ZPosition": { + "type": "float", + "value": 0.2499961853027344 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "METAL01, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep010" + }, + "XOrientation": { + "type": "float", + "value": 0.8932240009307861 + }, + "XPosition": { + "type": "float", + "value": 33.87748718261719 + }, + "YOrientation": { + "type": "float", + "value": 0.4496119320392609 + }, + "YPosition": { + "type": "float", + "value": 38.83402252197266 + }, + "ZPosition": { + "type": "float", + "value": 0.2499961853027344 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "METAL02, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep013" + }, + "XOrientation": { + "type": "float", + "value": -0.817584753036499 + }, + "XPosition": { + "type": "float", + "value": 50.33624267578125 + }, + "YOrientation": { + "type": "float", + "value": 0.5758082866668701 + }, + "YPosition": { + "type": "float", + "value": 64.07465362548828 + }, + "ZPosition": { + "type": "float", + "value": 0.2499961853027344 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 3 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 0 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "METAL02, offset 0" + } + }, + "MapNote": { + "type": "cexolocstring", + "value": {} + }, + "MapNoteEnabled": { + "type": "byte", + "value": 0 + }, + "Tag": { + "type": "cexostring", + "value": "cnr_resourcepoint" + }, + "TemplateResRef": { + "type": "resref", + "value": "cnr_resourcep013" + }, + "XOrientation": { + "type": "float", + "value": 0.9891765117645264 + }, + "XPosition": { + "type": "float", + "value": 33.92621994018555 + }, + "YOrientation": { + "type": "float", + "value": -0.1467303484678268 + }, + "YPosition": { + "type": "float", + "value": 70.26404571533203 + }, + "ZPosition": { + "type": "float", + "value": 0.2499961853027344 + } } ] } diff --git a/_module/ncs/cnr_source_init.ncs b/_module/ncs/cnr_source_init.ncs index 7d9d9c63a32a39bfcf76bffeda75b570f775b96e..abfe2cd5b7e2d02a23a5e5cd39d04dc63a23a361 100644 GIT binary patch delta 811 zcmaFB_f?43&pB8j%uvt3iGhK$bRusq6Z_SPHR??4YbGvLV`6WacoxX+o%jvNPMs{r zsKdmbKG_FESx&A3QQVVP04cV+ldplO^^;kcfK=mTBM=olIRQkePVNIztluZ^0Z}I> zzXDOSCrdB`socqKAj*Dn35XJ$ya-6KJf3`kS%rz^!{l!u>eOTz79h1`vJ;4^o16in zA}05ND5J?+Korm9TR@8W*(6paCgwwvRak+XIg`Cu)tQ)!Cl|A-F)`Opo(&QVpL~#2 zfr;64@?%!@dS-hTRtDbWyrSTe%)D&(oW#5opa6eWYC(KbYHCSNYH>+kc8MGV0|T=t z5h^o4Dw$qmQ^}oFl2Z(_#K6E1tm-IGl`@9a+$oci3% z;$#C0pdeIXT4qry$SlSOs0!igcpwIX)EO9oRc^zf5-G4js=-0X*omqbVLy`U;)2W) ni0T+r)o@23DFzu0jz>m)!iqsALliS9FfcRz|G(LaO^p!%nqc4U delta 277 zcmWm3y-Px26b5kLbMG-54C#X!EG}_T5RvQ;aJWK4gh)X&$sG+62OT1ubu(U{A;>KV z8f?i7DAhB5I@;YmiWrvW{8{i zRr0xwBv-Lz^2CQYP<&hnZiGAK1)s__ToTT(tCSEbDf9*B2an1GGo_0SM>xTrl0#dd zKinv9cz1lFZ$!!i(ynlcKsiNSDWk7!Vj`G1zLbvvZSFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setgivelvl.ncs b/_module/ncs/hcrh_setgivelvl.ncs index a26c956c208d3abc7ae9a034d2141c670b6bdf3d..ea29c7ebf7d9778e9a2a5e45cd6d53b92e6a5c1b 100644 GIT binary patch delta 188 zcmZo+y22Fb=NzmMW~gW2#K6E9BF6v(9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setlvlcost.ncs b/_module/ncs/hcrh_setlvlcost.ncs index 20810542fc9947fb79f2cff37ee35ec3673b7473..7ae725ec0b5cf27d556d9223ca370754726c6837 100644 GIT binary patch delta 188 zcmZo+y22Fb=NzmMW~gW2#K6E9BF6v(9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setpktrack.ncs b/_module/ncs/hcrh_setpktrack.ncs index aa0f68192a794086e9cefcb3cf8d1edc640a3049..f45c35a7300a0e650adefc4162f9ccf2648caae1 100644 GIT binary patch delta 188 zcmZo+y22Fb=NzmMW~gW2#K6E9BF6v(9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setrest.ncs b/_module/ncs/hcrh_setrest.ncs index 53b01d3fd1089215c2944d6b417d2c5dbec8cf47..5aa35b69cb48251598c4b8d81eab1a35dd02a04f 100644 GIT binary patch delta 188 zcmZo+y22Fb=NzmMW~gW2#K6E9BF6v(9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setrezchnce.ncs b/_module/ncs/hcrh_setrezchnce.ncs index 2604ed8d21c4ca4c3e29a2aaa074c973e2f0a436..77f0c7e0dbc1e0240171726cb2a63b91d237c4f9 100644 GIT binary patch delta 188 zcmZo+y22Fb=NzmMW~gW2#K6E9BF6v(9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRHZj;%YyS delta 108 zcmcb@)WW3i=NzmMW~gW2#K6GFBF6v(910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_+SpsW2As diff --git a/_module/ncs/hcrh_setsumtime.ncs b/_module/ncs/hcrh_setsumtime.ncs index 1313c925934e09cd2f35c68a7d0ce260fbcb1541..8d24ccae97a266aa5d4529a8ffcbfa7028c1322a 100644 GIT binary patch delta 188 zcmZo=y2=#j=NzmMW~gW2#K6E9D#ri>9109fY^)3npBNY!|NsC0gMmew0Z9L0Vr5}v z5DZQ&DoZU=$ShXy$xqHsP0>SFG*MqX9!-o5sFBOVImn|Vu_!&YgoO=c4bTQNCRBx5 X3}6QcXfuFq`~Y$YL@}zmiRFC&910Aq3=E$bSXdbZgHwyjQi~KaixqtGle1G( z^d<(18v-S`Je-3(N)n6GQ%hLbK$?I$%$T$ozy=6tGe|T1|NsAk0s};H;_*HJs$v%O diff --git a/_module/ncs/light_decay.ncs b/_module/ncs/light_decay.ncs index 33f6250e3dfaa5f03147c1ea733acf79d977e262..af73a0207021fad9bab74cbb8b480007b316f615 100644 GIT binary patch delta 54 zcmZ3?xS3Jg&pB8j%uvt3iGhJ(vmB6M;80*-VrF4wU=8u~bq!)+1BtORFc>pUw3L}> Go&x~>zzCWE delta 49 zcmdnYxR_DX&pB8j%uvt3iGhJ(u^f0(c9y^|sF4W4x3-H!BQ&5A={1q0y}i91qMRo1ze@v3fMG#2A^AkI5Rpedk)o2W z+fg%-)+c8ZW-4y#SVS zMkXr^CDT(GRQZW2<1P(U=mwtiUh`KF3jrZO32DOl5OaP?IOqOCT8ri~7;+gf9xA@8 zh}}f59~7V#nzruSGqzPKR_@kw5v3TwT2tn7zVrwN7%-x(rlXfE>dy4MnKaDQT*gRd z(xao%&>#YP6@}48IK%`Nwy1C|89qP#tb{LkApzPmV^{J^xz%#HTCodLR=HRzT8_|$ zvY>}|K>SGTW$NvPCi)Qx%{Yp3eSQ6-m#ClnhQz};>N)Y45G(mY4%bfw1ko0&uS zgee~xScxpn$03)~iF6{HjF~AtXC$(MIgHHyV}M-`xohLgOvAeH;e@4y)_3~Z91o*} z?_94W%sB`q94Dp;zj|TUU1Q~h{nX*zY8RT|Km)(}Jn$A|CO;Hg${Pojg(sCz-M3Y! z3Q6ghD_MElS}56O+^N=l>I~7|K%`g8J^-ifziarZ&mA)1OZT3Hkw_t))+F;1bD$4b zohBOJ#oYzsa9u1oh%E17{!1f#m3r(4UHcg@&>F8+okoZa+ju=;RFGg^C4dJJ{+BP& zF!U;qfVdv|csyP+w0_Ts&{>=Xd)dr8iz{XU(hXI4FZ)u;wZ6fIWS1)h^esyAuXIJm}tx=L7~0H@#iG+oW)?LDrJZ2Dfl4!J6@f)FtvpHhiM} z@+Ms4Kg8e3yX3j}_Vms;BY-Eo0e}+XAb)sDLHt|gb;V8@8Nu6@8$sx&h6;cO+$KN~ XWbC{QRoE5=;C&I_ckua@pKIg~;Q_E` literal 0 HcmV?d00001 diff --git a/_module/nss/cnr_source_init.nss b/_module/nss/cnr_source_init.nss index 55005dc6..352d40a5 100644 --- a/_module/nss/cnr_source_init.nss +++ b/_module/nss/cnr_source_init.nss @@ -72,7 +72,28 @@ void main() // This section (new to V3.05, similar to CnrBirdOnDeathInitialize) allows // for easy setup of item drops upon the death of the identified mob. + + //:: Stink Beetles CnrMobOnDeathInitialize("cnrBeetleStink", "cnrStinkGland"); + //CnrMobOnDeathInitialize("zep_beetlestnkf", "cnrStinkGland"); // <-- Too small to harvest + CnrMobOnDeathInitialize("zep_beetlestnkt", "cnrStinkGland"); + CnrMobOnDeathInitialize("zep_beetlestnkh", "cnrStinkGland"); + CnrMobOnDeathInitialize("btlstink001", "cnrStinkGland"); + CnrMobOnDeathInitialize("nw_btlstink", "cnrStinkGland"); + + //:: Bombadier Beetles CnrMobOnDeathInitialize("cnrBeetleBomber", "cnrBellBomb"); + CnrMobOnDeathInitialize("zep_beetlebomb", "cnrBellBomb"); + CnrMobOnDeathInitialize("udbombbeetle", "cnrBellBomb"); + CnrMobOnDeathInitialize("nw_btlbomb", "cnrBellBomb"); + + //:: Fire Beetles + CnrMobOnDeathInitialize("nw_btlfire", "nw_it_msmlmisc08"); + CnrMobOnDeathInitialize("nw_btlfire02", "nw_it_msmlmisc08"); + CnrMobOnDeathInitialize("zep_beetlefireh", "nw_it_msmlmisc08"); + CnrMobOnDeathInitialize("zep_beetlespith", "nw_it_msmlmisc08"); + CnrMobOnDeathInitialize("zep_beetlefiret", "nw_it_msmlmisc08"); + CnrMobOnDeathInitialize("zep_beetlespitt", "nw_it_msmlmisc08"); + } diff --git a/_module/nss/nw_c2_default7.nss b/_module/nss/nw_c2_default7.nss new file mode 100644 index 00000000..3ec7191c --- /dev/null +++ b/_module/nss/nw_c2_default7.nss @@ -0,0 +1,113 @@ +//::////////////////////////////////////////////////// +//:: NW_C2_DEFAULT7 +/* + Default OnDeath event handler for NPCs. + + Adjusts killer's alignment if appropriate and + alerts allies to our death. + */ +//::////////////////////////////////////////////////// +//:: Copyright (c) 2002 Floodgate Entertainment +//:: Created By: Naomi Novik +//:: Created On: 12/22/2002 +//::////////////////////////////////////////////////// +//::////////////////////////////////////////////////// +//:: Modified By: Deva Winblood +//:: Modified On: April 1st, 2008 +//:: Added Support for Dying Wile Mounted +//::///////////////////////////////////////////////// + +const string sHenchSummonedFamiliar = "HenchSummonedFamiliar"; +const string sHenchSummonedAniComp = "HenchSummonedAniComp"; +const string sHenchLastHeardOrSeen = "LastSeenOrHeard"; + +#include "x2_inc_compon" +#include "x0_i0_spawncond" + +// Clears the last unheard, unseen enemy location +void ClearEnemyLocation(); + +void main() +{ + object oKiller = GetLastKiller(); + object oMaster = GetMaster(); + + int nAlign = GetAlignmentGoodEvil(OBJECT_SELF); + + if(GetLocalInt(GetModule(), "X3_ENABLE_MOUNT_DB") && GetIsObjectValid(oMaster)) + SetLocalInt(oMaster, "bX3_STORE_MOUNT_INFO", TRUE); + + // If we're a good/neutral commoner, + // adjust the killer's alignment evil + if(GetLevelByClass(CLASS_TYPE_COMMONER) + && (nAlign == ALIGNMENT_GOOD || nAlign == ALIGNMENT_NEUTRAL)) + { + AdjustAlignment(oKiller, ALIGNMENT_EVIL, 5); + } + +//Start Hench AI + if(GetLocalInt(OBJECT_SELF, "GaveHealing")) + { + // Pausanias: destroy potions of healing + object oItem = GetFirstItemInInventory(); + while(GetIsObjectValid(oItem)) + { + if(GetTag(oItem) == "NW_IT_MPOTION003") + DestroyObject(oItem); + oItem = GetNextItemInInventory(); + } + } + + if(GetLocalInt(OBJECT_SELF, sHenchSummonedFamiliar)) + { + object oFam = GetLocalObject(OBJECT_SELF, sHenchSummonedFamiliar); + if(GetIsObjectValid(oFam)) + { + //if(DEBUG) DoDebug(GetName(OBJECT_SELF) + " destroy familiar"); + DestroyObject(oFam, 0.1); + ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oFam)); + } + } + if(GetLocalInt(OBJECT_SELF, sHenchSummonedAniComp)) + { + object oAni = GetLocalObject(OBJECT_SELF, sHenchSummonedAniComp); + if(GetIsObjectValid(oAni)) + { + //if(DEBUG) DoDebug(GetName(OBJECT_SELF) + " destroy ani comp"); + DestroyObject(oAni, 0.1); + ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oAni)); + } + } + + ClearEnemyLocation(); +//End Hench AI + + // Call to allies to let them know we're dead + SpeakString("NW_I_AM_DEAD", TALKVOLUME_SILENT_TALK); + + //Shout Attack my target, only works with the On Spawn In setup + SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK); + + // NOTE: the OnDeath user-defined event does not + // trigger reliably and should probably be removed + if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT)) + SignalEvent(OBJECT_SELF, EventUserDefined(1007)); + + craft_drop_items(oKiller); + + ExecuteScript("prc_npc_death", OBJECT_SELF); + ExecuteScript("prc_pwondeath", OBJECT_SELF); +} + +void ClearEnemyLocation() +{ + DeleteLocalInt(OBJECT_SELF, sHenchLastHeardOrSeen); + DeleteLocalLocation(OBJECT_SELF, sHenchLastHeardOrSeen); + + object oInvisTarget = GetLocalObject(OBJECT_SELF, sHenchLastHeardOrSeen); + if (GetIsObjectValid(oInvisTarget)) + { + DestroyObject(oInvisTarget); + DeleteLocalObject(OBJECT_SELF, sHenchLastHeardOrSeen); + } +} \ No newline at end of file