Bugfix pass.

Fixed onRespawn & onDying scripts.  Fixed XP awards.  Added temple hospital & library.
This commit is contained in:
Jaysyn904
2021-09-25 20:28:28 -04:00
parent 6195a6cf23
commit 3e3128ed1e
84 changed files with 64542 additions and 169 deletions

View File

@@ -18191,66 +18191,6 @@
"WaypointList": {
"type": "list",
"value": [
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 1
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"id": 14817,
"type": "cexolocstring",
"value": {}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 1
},
"Tag": {
"type": "cexostring",
"value": "townport"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_waypoint001"
},
"XOrientation": {
"type": "float",
"value": 0.0
},
"XPosition": {
"type": "float",
"value": 75.25265502929688
},
"YOrientation": {
"type": "float",
"value": 1.0
},
"YPosition": {
"type": "float",
"value": 95.59759521484375
},
"ZPosition": {
"type": "float",
"value": -5.222045729169622e-006
}
},
{
"__struct_id": 5,
"Appearance": {
@@ -21358,7 +21298,7 @@
},
"XPosition": {
"type": "float",
"value": 80.04289245605469
"value": 80.04264831542969
},
"YOrientation": {
"type": "float",
@@ -21366,7 +21306,7 @@
},
"YPosition": {
"type": "float",
"value": 152.4160003662109
"value": 152.7678833007813
},
"ZPosition": {
"type": "float",
@@ -21625,68 +21565,6 @@
"value": -5.222045729169622e-006
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 4
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"id": 14816,
"type": "cexolocstring",
"value": {
"0": "Post - Grogar"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 1
},
"Tag": {
"type": "cexostring",
"value": "POST_NPC_GROGAR"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_post001"
},
"XOrientation": {
"type": "float",
"value": 3.894143674187944e-007
},
"XPosition": {
"type": "float",
"value": 80.01533508300781
},
"YOrientation": {
"type": "float",
"value": -1.0
},
"YPosition": {
"type": "float",
"value": 151.995361328125
},
"ZPosition": {
"type": "float",
"value": -5.7220458984375e-006
}
},
{
"__struct_id": 5,
"Appearance": {

View File

@@ -0,0 +1,370 @@
{
"__data_type": "GIT ",
"AreaProperties": {
"__struct_id": 100,
"type": "struct",
"value": {
"__struct_id": 100,
"AmbientSndDay": {
"type": "int",
"value": 66
},
"AmbientSndDayVol": {
"type": "int",
"value": 12
},
"AmbientSndNight": {
"type": "int",
"value": 66
},
"AmbientSndNitVol": {
"type": "int",
"value": 6
},
"EnvAudio": {
"type": "int",
"value": 0
},
"MusicBattle": {
"type": "int",
"value": 41
},
"MusicDay": {
"type": "int",
"value": 27
},
"MusicDelay": {
"type": "int",
"value": 90000
},
"MusicNight": {
"type": "int",
"value": 49
}
}
},
"Creature List": {
"type": "list",
"value": []
},
"Door List": {
"type": "list",
"value": [
{
"__struct_id": 8,
"AnimationState": {
"type": "byte",
"value": 0
},
"Appearance": {
"type": "dword",
"value": 0
},
"AutoRemoveKey": {
"type": "byte",
"value": 0
},
"Bearing": {
"type": "float",
"value": 1.570796012878418
},
"CloseLockDC": {
"type": "byte",
"value": 0
},
"Conversation": {
"type": "resref",
"value": ""
},
"CurrentHP": {
"type": "short",
"value": 60
},
"Description": {
"id": 9070,
"type": "cexolocstring",
"value": {
"0": "A sturdy wooden door."
}
},
"DisarmDC": {
"type": "byte",
"value": 28
},
"Faction": {
"type": "dword",
"value": 1
},
"Fort": {
"type": "byte",
"value": 28
},
"GenericType_New": {
"type": "dword",
"value": 1
},
"Hardness": {
"type": "byte",
"value": 10
},
"HP": {
"type": "short",
"value": 60
},
"Interruptable": {
"type": "byte",
"value": 1
},
"KeyName": {
"type": "cexostring",
"value": ""
},
"KeyRequired": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": "Temple2Library"
},
"LinkedToFlags": {
"type": "byte",
"value": 1
},
"LoadScreenID": {
"type": "word",
"value": 0
},
"Lockable": {
"type": "byte",
"value": 0
},
"Locked": {
"type": "byte",
"value": 0
},
"LocName": {
"id": 5349,
"type": "cexolocstring",
"value": {
"0": "Door"
}
},
"OnClick": {
"type": "resref",
"value": "door_area_trans"
},
"OnClosed": {
"type": "resref",
"value": ""
},
"OnDamaged": {
"type": "resref",
"value": ""
},
"OnDeath": {
"type": "resref",
"value": "se_door_death"
},
"OnDisarm": {
"type": "resref",
"value": ""
},
"OnFailToOpen": {
"type": "resref",
"value": "door_fail2open"
},
"OnHeartbeat": {
"type": "resref",
"value": ""
},
"OnLock": {
"type": "resref",
"value": ""
},
"OnMeleeAttacked": {
"type": "resref",
"value": ""
},
"OnOpen": {
"type": "resref",
"value": "ra_close_door"
},
"OnSpellCastAt": {
"type": "resref",
"value": ""
},
"OnTrapTriggered": {
"type": "resref",
"value": ""
},
"OnUnlock": {
"type": "resref",
"value": ""
},
"OnUserDefined": {
"type": "resref",
"value": ""
},
"OpenLockDC": {
"type": "byte",
"value": 28
},
"Plot": {
"type": "byte",
"value": 1
},
"PortraitId": {
"type": "word",
"value": 2624
},
"Ref": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "Library2Temple"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_door_metal"
},
"TrapDetectable": {
"type": "byte",
"value": 1
},
"TrapDetectDC": {
"type": "byte",
"value": 0
},
"TrapDisarmable": {
"type": "byte",
"value": 1
},
"TrapFlag": {
"type": "byte",
"value": 0
},
"TrapOneShot": {
"type": "byte",
"value": 1
},
"TrapType": {
"type": "byte",
"value": 2
},
"Will": {
"type": "byte",
"value": 0
},
"X": {
"type": "float",
"value": 5.0
},
"Y": {
"type": "float",
"value": 5.0
},
"Z": {
"type": "float",
"value": 1.399999976158142
}
}
]
},
"Encounter List": {
"type": "list",
"value": []
},
"List": {
"type": "list",
"value": []
},
"Placeable List": {
"type": "list",
"value": []
},
"SoundList": {
"type": "list",
"value": []
},
"StoreList": {
"type": "list",
"value": []
},
"TriggerList": {
"type": "list",
"value": []
},
"WaypointList": {
"type": "list",
"value": [
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 1
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 1
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"id": 14814,
"type": "cexolocstring",
"value": {
"0": "Map Note"
}
},
"MapNote": {
"id": 14815,
"type": "cexolocstring",
"value": {
"0": "Exit"
}
},
"MapNoteEnabled": {
"type": "byte",
"value": 1
},
"Tag": {
"type": "cexostring",
"value": "MapNote_Out"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_mapnote001"
},
"XOrientation": {
"type": "float",
"value": 0.9972904324531555
},
"XPosition": {
"type": "float",
"value": 5.613179206848145
},
"YOrientation": {
"type": "float",
"value": 0.07356484979391098
},
"YPosition": {
"type": "float",
"value": 4.792923927307129
},
"ZPosition": {
"type": "float",
"value": 1.399997115135193
}
}
]
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2830,7 +2830,7 @@
},
"Ref": {
"type": "byte",
"value": 2
"value": 1
},
"Static": {
"type": "byte",
@@ -2878,7 +2878,7 @@
},
"Will": {
"type": "byte",
"value": 10
"value": 8
},
"X": {
"type": "float",

View File

@@ -17332,6 +17332,444 @@
"type": "float",
"value": -0.009999999776482582
}
},
{
"__struct_id": 8,
"AnimationState": {
"type": "byte",
"value": 0
},
"Appearance": {
"type": "dword",
"value": 0
},
"AutoRemoveKey": {
"type": "byte",
"value": 0
},
"Bearing": {
"type": "float",
"value": 1.570796370506287
},
"CloseLockDC": {
"type": "byte",
"value": 0
},
"Conversation": {
"type": "resref",
"value": ""
},
"CurrentHP": {
"type": "short",
"value": 80
},
"Description": {
"type": "cexolocstring",
"value": {
"0": "A sturdy wooden door."
}
},
"DisarmDC": {
"type": "byte",
"value": 15
},
"Faction": {
"type": "dword",
"value": 1
},
"Fort": {
"type": "byte",
"value": 16
},
"GenericType_New": {
"type": "dword",
"value": 1
},
"Hardness": {
"type": "byte",
"value": 5
},
"HP": {
"type": "short",
"value": 80
},
"Interruptable": {
"type": "byte",
"value": 1
},
"KeyName": {
"type": "cexostring",
"value": ""
},
"KeyRequired": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": "Hospital2Temple"
},
"LinkedToFlags": {
"type": "byte",
"value": 1
},
"LoadScreenID": {
"type": "word",
"value": 0
},
"Lockable": {
"type": "byte",
"value": 0
},
"Locked": {
"type": "byte",
"value": 0
},
"LocName": {
"id": 5349,
"type": "cexolocstring",
"value": {}
},
"OnClick": {
"type": "resref",
"value": "door_area_trans"
},
"OnClosed": {
"type": "resref",
"value": ""
},
"OnDamaged": {
"type": "resref",
"value": ""
},
"OnDeath": {
"type": "resref",
"value": "se_door_death"
},
"OnDisarm": {
"type": "resref",
"value": ""
},
"OnFailToOpen": {
"type": "resref",
"value": "door_fail2open"
},
"OnHeartbeat": {
"type": "resref",
"value": ""
},
"OnLock": {
"type": "resref",
"value": ""
},
"OnMeleeAttacked": {
"type": "resref",
"value": ""
},
"OnOpen": {
"type": "resref",
"value": "ra_close_door"
},
"OnSpellCastAt": {
"type": "resref",
"value": ""
},
"OnTrapTriggered": {
"type": "resref",
"value": ""
},
"OnUnlock": {
"type": "resref",
"value": ""
},
"OnUserDefined": {
"type": "resref",
"value": ""
},
"OpenLockDC": {
"type": "byte",
"value": 18
},
"Plot": {
"type": "byte",
"value": 1
},
"PortraitId": {
"type": "word",
"value": 2624
},
"Ref": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "Temple2Hospital"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_door_ttr_02"
},
"TrapDetectable": {
"type": "byte",
"value": 1
},
"TrapDetectDC": {
"type": "byte",
"value": 0
},
"TrapDisarmable": {
"type": "byte",
"value": 1
},
"TrapFlag": {
"type": "byte",
"value": 0
},
"TrapOneShot": {
"type": "byte",
"value": 1
},
"TrapType": {
"type": "byte",
"value": 0
},
"Will": {
"type": "byte",
"value": 0
},
"X": {
"type": "float",
"value": 64.37000274658203
},
"Y": {
"type": "float",
"value": 58.97999954223633
},
"Z": {
"type": "float",
"value": -0.009999999776482582
}
},
{
"__struct_id": 8,
"AnimationState": {
"type": "byte",
"value": 0
},
"Appearance": {
"type": "dword",
"value": 0
},
"AutoRemoveKey": {
"type": "byte",
"value": 0
},
"Bearing": {
"type": "float",
"value": -1.570796251296997
},
"CloseLockDC": {
"type": "byte",
"value": 0
},
"Conversation": {
"type": "resref",
"value": ""
},
"CurrentHP": {
"type": "short",
"value": 80
},
"Description": {
"type": "cexolocstring",
"value": {
"0": "A sturdy wooden door."
}
},
"DisarmDC": {
"type": "byte",
"value": 15
},
"Faction": {
"type": "dword",
"value": 1
},
"Fort": {
"type": "byte",
"value": 16
},
"GenericType_New": {
"type": "dword",
"value": 1
},
"Hardness": {
"type": "byte",
"value": 5
},
"HP": {
"type": "short",
"value": 80
},
"Interruptable": {
"type": "byte",
"value": 1
},
"KeyName": {
"type": "cexostring",
"value": ""
},
"KeyRequired": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": "Library2Temple"
},
"LinkedToFlags": {
"type": "byte",
"value": 1
},
"LoadScreenID": {
"type": "word",
"value": 0
},
"Lockable": {
"type": "byte",
"value": 0
},
"Locked": {
"type": "byte",
"value": 0
},
"LocName": {
"id": 5349,
"type": "cexolocstring",
"value": {
"0": "Door"
}
},
"OnClick": {
"type": "resref",
"value": "door_area_trans"
},
"OnClosed": {
"type": "resref",
"value": ""
},
"OnDamaged": {
"type": "resref",
"value": ""
},
"OnDeath": {
"type": "resref",
"value": "se_door_death"
},
"OnDisarm": {
"type": "resref",
"value": ""
},
"OnFailToOpen": {
"type": "resref",
"value": "door_fail2open"
},
"OnHeartbeat": {
"type": "resref",
"value": ""
},
"OnLock": {
"type": "resref",
"value": ""
},
"OnMeleeAttacked": {
"type": "resref",
"value": ""
},
"OnOpen": {
"type": "resref",
"value": "ra_close_door"
},
"OnSpellCastAt": {
"type": "resref",
"value": ""
},
"OnTrapTriggered": {
"type": "resref",
"value": ""
},
"OnUnlock": {
"type": "resref",
"value": ""
},
"OnUserDefined": {
"type": "resref",
"value": ""
},
"OpenLockDC": {
"type": "byte",
"value": 18
},
"Plot": {
"type": "byte",
"value": 1
},
"PortraitId": {
"type": "word",
"value": 2624
},
"Ref": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "Temple2Library"
},
"TemplateResRef": {
"type": "resref",
"value": "nw_door_ttr_01"
},
"TrapDetectable": {
"type": "byte",
"value": 1
},
"TrapDetectDC": {
"type": "byte",
"value": 0
},
"TrapDisarmable": {
"type": "byte",
"value": 1
},
"TrapFlag": {
"type": "byte",
"value": 0
},
"TrapOneShot": {
"type": "byte",
"value": 1
},
"TrapType": {
"type": "byte",
"value": 0
},
"Will": {
"type": "byte",
"value": 0
},
"X": {
"type": "float",
"value": 95.12000274658203
},
"Y": {
"type": "float",
"value": 58.97999954223633
},
"Z": {
"type": "float",
"value": -0.009999999776482582
}
}
]
},