Fixed quest bug
Fixed quest bugs that resulted from GetNumberPartyMembers() finally being fixed. Added PRC8 Discord journal entry. Full compile.
This commit is contained in:
		| @@ -2907,13 +2907,17 @@ | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "TileBrdrDisabled": { | ||||
|     "type": "byte", | ||||
|     "value": 0 | ||||
|   }, | ||||
|   "Tileset": { | ||||
|     "type": "resref", | ||||
|     "value": "tin01" | ||||
|   }, | ||||
|   "Version": { | ||||
|     "type": "dword", | ||||
|     "value": 33 | ||||
|     "value": 34 | ||||
|   }, | ||||
|   "Width": { | ||||
|     "type": "int", | ||||
|   | ||||
| @@ -1852,7 +1852,7 @@ | ||||
|   "Mod_Description": { | ||||
|     "type": "cexolocstring", | ||||
|     "value": { | ||||
|       "0": "Beyond the Dungeon of Graves v1.4.3prc8\n\nOriginally by: Tolen\n\nUpdated by: Jaysyn\n\nBased on Rappan Athuk: The Dungeon of Graves, published by Necromancer Games.\n\nRequires CEP 1, CEP 3 & PRC8 4.1.11+\n\nDiscord: https://discord.gg/vFNhmKgH7W\n\nGitHub: https://github.com/Jaysyn904/RATDOG" | ||||
|       "0": "Beyond the Dungeon of Graves\n\nOriginally by: Tolen\n\nUpdated by: Jaysyn\n\nBased on Rappan Athuk: The Dungeon of Graves, published by Necromancer Games.\n\nRequires CEP 1, CEP 3 & PRC8 4.1.11+\n\nDiscord: https://discord.gg/vFNhmKgH7W\n\nGitHub: https://github.com/Jaysyn904/RATDOG" | ||||
|     } | ||||
|   }, | ||||
|   "Mod_DuskHour": { | ||||
|   | ||||
| @@ -56,6 +56,57 @@ | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 1, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
|         }, | ||||
|         "EntryList": { | ||||
|           "type": "list", | ||||
|           "value": [ | ||||
|             { | ||||
|               "__struct_id": 0, | ||||
|               "End": { | ||||
|                 "type": "word", | ||||
|                 "value": 0 | ||||
|               }, | ||||
|               "ID": { | ||||
|                 "type": "dword", | ||||
|                 "value": 1 | ||||
|               }, | ||||
|               "Text": { | ||||
|                 "type": "cexolocstring", | ||||
|                 "value": { | ||||
|                   "0": "Visit the PRC8 Discord for ruleset information, as well as other PW servers & dozens of single player PRC8 modules.\n\nhttps://discord.gg/FW9V9RKy5U" | ||||
|                 } | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|         }, | ||||
|         "Name": { | ||||
|           "type": "cexolocstring", | ||||
|           "value": { | ||||
|             "0": "| PRC8 Discord |" | ||||
|           } | ||||
|         }, | ||||
|         "Picture": { | ||||
|           "type": "word", | ||||
|           "value": 65535 | ||||
|         }, | ||||
|         "Priority": { | ||||
|           "type": "dword", | ||||
|           "value": 4 | ||||
|         }, | ||||
|         "Tag": { | ||||
|           "type": "cexostring", | ||||
|           "value": "Category000" | ||||
|         }, | ||||
|         "XP": { | ||||
|           "type": "dword", | ||||
|           "value": 0 | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 2, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "3e D&D Experience Chart" | ||||
| @@ -106,7 +157,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 2, | ||||
|         "__struct_id": 3, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -225,7 +276,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 3, | ||||
|         "__struct_id": 4, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -293,7 +344,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 4, | ||||
|         "__struct_id": 5, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -429,7 +480,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 5, | ||||
|         "__struct_id": 6, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -497,7 +548,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 6, | ||||
|         "__struct_id": 7, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -582,7 +633,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 7, | ||||
|         "__struct_id": 8, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "Tracks the party's dealings with Drusilla the Dark Druid." | ||||
| @@ -650,7 +701,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 8, | ||||
|         "__struct_id": 9, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -735,7 +786,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 9, | ||||
|         "__struct_id": 10, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -803,7 +854,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 10, | ||||
|         "__struct_id": 11, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -871,7 +922,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 11, | ||||
|         "__struct_id": 12, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -922,7 +973,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 12, | ||||
|         "__struct_id": 13, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1007,7 +1058,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 13, | ||||
|         "__struct_id": 14, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1075,7 +1126,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 14, | ||||
|         "__struct_id": 15, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1160,7 +1211,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 15, | ||||
|         "__struct_id": 16, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1228,7 +1279,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 16, | ||||
|         "__struct_id": 17, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1330,7 +1381,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 17, | ||||
|         "__struct_id": 18, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1415,7 +1466,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 18, | ||||
|         "__struct_id": 19, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1534,7 +1585,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 19, | ||||
|         "__struct_id": 20, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1602,7 +1653,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 20, | ||||
|         "__struct_id": 21, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1670,7 +1721,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 21, | ||||
|         "__struct_id": 22, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1755,7 +1806,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 22, | ||||
|         "__struct_id": 23, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -1925,7 +1976,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 23, | ||||
|         "__struct_id": 24, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2027,7 +2078,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 24, | ||||
|         "__struct_id": 25, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2112,7 +2163,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 25, | ||||
|         "__struct_id": 26, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2163,7 +2214,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 26, | ||||
|         "__struct_id": 27, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2214,7 +2265,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 27, | ||||
|         "__struct_id": 28, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2333,7 +2384,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 28, | ||||
|         "__struct_id": 29, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2384,7 +2435,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 29, | ||||
|         "__struct_id": 30, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2452,7 +2503,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 30, | ||||
|         "__struct_id": 31, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2520,7 +2571,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 31, | ||||
|         "__struct_id": 32, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2588,7 +2639,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 32, | ||||
|         "__struct_id": 33, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2673,7 +2724,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 33, | ||||
|         "__struct_id": 34, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
| @@ -2758,7 +2809,7 @@ | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__struct_id": 34, | ||||
|         "__struct_id": 35, | ||||
|         "Comment": { | ||||
|           "type": "cexostring", | ||||
|           "value": "" | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -24,8 +24,7 @@ void main() | ||||
|     int nGold = 1500; | ||||
|  | ||||
| //:: Get gold for each PC | ||||
| //:: Take one off GetNumberPartyMembers(), see known bugs | ||||
|     int nMembers = GetNumberPartyMembers(oPC) - 1; | ||||
|     int nMembers = GetNumberPartyMembers(oPC); | ||||
|  | ||||
| //:: Give the correct gold to all of them | ||||
|     GiveGoldToAll(oPC, nGold/nMembers); | ||||
| @@ -35,4 +34,4 @@ void main() | ||||
|  | ||||
| //:: Set quest stage & update DB. | ||||
|     AddPersistentJournalQuestEntry("marthek", 5, oPC); | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -24,8 +24,7 @@ void main() | ||||
|     int nGold = 50000; | ||||
|  | ||||
| //:: Get gold for each PC | ||||
| //:: Take one off GetNumberPartyMembers(), see known bugs | ||||
|     int nMembers = GetNumberPartyMembers(oPC) - 1; | ||||
|     int nMembers = GetNumberPartyMembers(oPC); | ||||
|  | ||||
| //:: Give the correct gold to all of them | ||||
|     GiveGoldToAll(oPC, nGold/nMembers); | ||||
|   | ||||
| @@ -132,6 +132,7 @@ void main() | ||||
| //:: Add system journal entries | ||||
|     AddPersistentJournalQuestEntry("JRNL_XPCHART", 1, oPC); | ||||
| 	AddPersistentJournalQuestEntry("JRNL_LA_BUYOFF", 1, oPC); | ||||
| 	AddPersistentJournalQuestEntry("JRNL_PRC8", 1, oPC); | ||||
|  | ||||
| //:: Announce player | ||||
| 	string sMessage = sPlayerName+ " has entered the Lost Lands."; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user