Skip to content

Commit 7c4df17

Browse files
authored
Merge pull request #854 from Logg-y/master
Item event framework (plus other changes now)
2 parents cbf15d2 + 3f10bdb commit 7c4df17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3426
-1542
lines changed

config/common.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export NWNX_TWEAKS_FIX_ITEM_NULLPTR_IN_CITEMREPOSITORY=true
7070
export NWNX_TWEAKS_COMPARE_VARIABLES_WHEN_MERGING=true
7171
export NWNX_TWEAKS_RETAIN_LOCAL_VARIABLES_ON_ITEM_SPLIT=true
7272
export NWNX_CORE_SHUTDOWN_SCRIPT=on_mod_shutdown
73+
export NWNX_EFFECT_EXTEND_DURATION_TYPE=true
7374

7475
export NWNX_SERVERLOGREDIRECTOR_HIDE_VALIDATEGFFRESOURCE_MESSAGES=y
7576
export NWNX_METRICS_INFLUXDB_HOST=influxdb

override/creaturepal.itp

162 Bytes
Binary file not shown.

seeded_database/areadistances.txt

Lines changed: 446 additions & 446 deletions
Large diffs are not rendered by default.

seeded_database/tmapsolutions.txt

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

seeded_database/treasures.txt

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

src/are/ud_maker2.are.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7423,6 +7423,10 @@
74237423
}
74247424
]
74257425
},
7426+
"TileBrdrDisabled": {
7427+
"type": "byte",
7428+
"value": 0
7429+
},
74267430
"Tileset": {
74277431
"type": "resref",
74287432
"value": "tic01"

src/are/ud_maker3.are.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7724,6 +7724,10 @@
77247724
}
77257725
]
77267726
},
7727+
"TileBrdrDisabled": {
7728+
"type": "byte",
7729+
"value": 0
7730+
},
77277731
"Tileset": {
77287732
"type": "resref",
77297733
"value": "tic01"

src/gic/ud_maker3.gic.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2782,6 +2782,83 @@
27822782
"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."
27832783
}
27842784
},
2785+
{
2786+
"__struct_id": 5,
2787+
"Comment": {
2788+
"type": "cexostring",
2789+
"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."
2790+
}
2791+
},
2792+
{
2793+
"__struct_id": 5,
2794+
"Comment": {
2795+
"type": "cexostring",
2796+
"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."
2797+
}
2798+
},
2799+
{
2800+
"__struct_id": 5,
2801+
"Comment": {
2802+
"type": "cexostring",
2803+
"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."
2804+
}
2805+
},
2806+
{
2807+
"__struct_id": 5,
2808+
"Comment": {
2809+
"type": "cexostring",
2810+
"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."
2811+
}
2812+
},
2813+
{
2814+
"__struct_id": 5,
2815+
"Comment": {
2816+
"type": "cexostring",
2817+
"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."
2818+
}
2819+
},
2820+
{
2821+
"__struct_id": 5,
2822+
"Comment": {
2823+
"type": "cexostring",
2824+
"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."
2825+
}
2826+
},
2827+
{
2828+
"__struct_id": 5,
2829+
"Comment": {
2830+
"type": "cexostring",
2831+
"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."
2832+
}
2833+
},
2834+
{
2835+
"__struct_id": 5,
2836+
"Comment": {
2837+
"type": "cexostring",
2838+
"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."
2839+
}
2840+
},
2841+
{
2842+
"__struct_id": 5,
2843+
"Comment": {
2844+
"type": "cexostring",
2845+
"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."
2846+
}
2847+
},
2848+
{
2849+
"__struct_id": 5,
2850+
"Comment": {
2851+
"type": "cexostring",
2852+
"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."
2853+
}
2854+
},
2855+
{
2856+
"__struct_id": 5,
2857+
"Comment": {
2858+
"type": "cexostring",
2859+
"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."
2860+
}
2861+
},
27852862
{
27862863
"__struct_id": 5,
27872864
"Comment": {

src/git/ud_maker2.git.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87174,7 +87174,7 @@
8717487174
"id": 84583,
8717587175
"type": "cexolocstring",
8717687176
"value": {
87177-
"0": "This appears to be some kind of a dictionary for ancient arcane languages. Within is a handwritten note:\n\n\"I have decided to use the Unuraakil language for the special-purpose golems. I'll just have to make sure that they frequently remind me of their numbers, as I will need them for their maintenance.\n\nIt seems my attempts at creating intelligence have had more success than I thought. The golems have worked out that both changing their numbers AND the Unuraakil word standing for each number is an excellent strategy to confound would-be intruders and prevent others from using the maintenance machine. While this is excellent news for my progress and dealing with those Duergar nuisances, I now have to find which bookshelf they hid their 'redesigned' Unuraakil words on to work out what to put into the maintenance machine...\""
87177+
"0": "This appears to be some kind of a dictionary for ancient arcane languages. Within are several handwritten notes:\n\n\"I have decided to use the Unuraakil language for the special-purpose golems. I'll just have to make sure that they frequently remind me of their numbers, as I will need them for their maintenance.\n\nIt seems my attempts at creating intelligence have had more success than I thought. The golems have worked out that both changing their numbers AND the Unuraakil word standing for each number is an excellent strategy to confound would-be intruders and prevent others from using the maintenance machine. While this is excellent news for my progress and dealing with those Duergar nuisances, I now have to find which bookshelf they hid their 'redesigned' Unuraakil words on to work out what to put into the maintenance machine...\"\n\nA later note reads:\n\n\"The destruction function of the maintenance machine may a little too easy to use by accident. Cleaning up after knocking the activation button a second time by mistake is not ideal...\""
8717887178
}
8717987179
},
8718087180
"DisarmDC": {

0 commit comments

Comments
 (0)