Updated Alchemist store
Updated Alchemist store. Commoners no longer spawn Halloween skeletons. Updated release.
This commit is contained in:
parent
aa79d988ab
commit
59ed26593c
@ -548,7 +548,7 @@
|
||||
},
|
||||
"Version": {
|
||||
"type": "dword",
|
||||
"value": 123
|
||||
"value": 124
|
||||
},
|
||||
"Width": {
|
||||
"type": "int",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -7019,7 +7019,7 @@
|
||||
"__struct_id": 0,
|
||||
"CR": {
|
||||
"type": "float",
|
||||
"value": 0.5
|
||||
"value": 3.0
|
||||
},
|
||||
"FACTION": {
|
||||
"type": "cexostring",
|
||||
|
@ -12,6 +12,17 @@
|
||||
"LIST": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"NAME": {
|
||||
"type": "cexostring",
|
||||
"value": "alchem"
|
||||
},
|
||||
"RESREF": {
|
||||
"type": "resref",
|
||||
"value": "alchem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"NAME": {
|
||||
|
Binary file not shown.
Binary file not shown.
@ -21,6 +21,7 @@ void main()
|
||||
int nTotalPCs;
|
||||
int nTotalPCLevel;
|
||||
int nAveragePCLevel;
|
||||
int nCommoner = GetLevelByClass(CLASS_TYPE_COMMONER, OBJECT_SELF);
|
||||
|
||||
string sCurrentDate = SQLite_GetSystemDate();
|
||||
string sMonthDay = GetSubString(sCurrentDate, 0, 5);
|
||||
@ -31,8 +32,8 @@ void main()
|
||||
|
||||
ExecuteScript("prc_npc_spawn", OBJECT_SELF);
|
||||
|
||||
//: Don't spawn skeletons from skeletons
|
||||
if (GetResRef(OBJECT_SELF) == "nw_skeleton")
|
||||
//: Don't spawn skeletons from skeletons or commoners
|
||||
if (GetResRef(OBJECT_SELF) == "nw_skeleton" || nCommoner > 0)
|
||||
return;
|
||||
|
||||
//:: Get average PC level for area
|
||||
@ -51,12 +52,12 @@ void main()
|
||||
|
||||
if (nTotalPCs > 0)
|
||||
{
|
||||
nAveragePCLevel = nTotalPCLevel / nTotalPCs;
|
||||
nAveragePCLevel = (nTotalPCLevel / nTotalPCs) - 1;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
nAveragePCLevel = 3;
|
||||
nAveragePCLevel = 2;
|
||||
}
|
||||
|
||||
//:: Only active during Halloween week.
|
||||
@ -70,8 +71,8 @@ void main()
|
||||
(sMonthDay == "10/31") ||
|
||||
(sMonthDay == "11/01"))
|
||||
{
|
||||
//:: 50% chance to spawn
|
||||
if ( Random(100) < 50 )
|
||||
//:: 40% chance to spawn
|
||||
if ( Random(100) < 40 )
|
||||
{
|
||||
//:: Spawn Skeleton.
|
||||
eVFX = EffectVisualEffect(VFX_IMP_EVIL_HELP);
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"ChallengeRating": {
|
||||
"type": "float",
|
||||
"value": 0.5
|
||||
"value": 3.0
|
||||
},
|
||||
"ClassList": {
|
||||
"type": "list",
|
||||
@ -23,11 +23,11 @@
|
||||
"__struct_id": 2,
|
||||
"Class": {
|
||||
"type": "int",
|
||||
"value": 4
|
||||
"value": 20
|
||||
},
|
||||
"ClassLevel": {
|
||||
"type": "short",
|
||||
"value": 1
|
||||
"value": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -50,7 +50,7 @@
|
||||
},
|
||||
"CurrentHitPoints": {
|
||||
"type": "short",
|
||||
"value": 10
|
||||
"value": 18
|
||||
},
|
||||
"DecayTime": {
|
||||
"type": "dword",
|
||||
@ -142,7 +142,7 @@
|
||||
},
|
||||
"HitPoints": {
|
||||
"type": "short",
|
||||
"value": 10
|
||||
"value": 18
|
||||
},
|
||||
"Int": {
|
||||
"type": "byte",
|
||||
@ -174,7 +174,7 @@
|
||||
},
|
||||
"MaxHitPoints": {
|
||||
"type": "short",
|
||||
"value": 12
|
||||
"value": 24
|
||||
},
|
||||
"NaturalAC": {
|
||||
"type": "byte",
|
||||
@ -552,7 +552,7 @@
|
||||
},
|
||||
"StartingPackage": {
|
||||
"type": "byte",
|
||||
"value": 4
|
||||
"value": 82
|
||||
},
|
||||
"Str": {
|
||||
"type": "byte",
|
||||
|
664
_module/utm/alchem.utm.json
Normal file
664
_module/utm/alchem.utm.json
Normal file
@ -0,0 +1,664 @@
|
||||
{
|
||||
"__data_type": "UTM ",
|
||||
"BlackMarket": {
|
||||
"type": "byte",
|
||||
"value": 0
|
||||
},
|
||||
"BM_MarkDown": {
|
||||
"type": "int",
|
||||
"value": 25
|
||||
},
|
||||
"Comment": {
|
||||
"type": "cexostring",
|
||||
"value": ""
|
||||
},
|
||||
"ID": {
|
||||
"type": "byte",
|
||||
"value": 5
|
||||
},
|
||||
"IdentifyPrice": {
|
||||
"type": "int",
|
||||
"value": 100
|
||||
},
|
||||
"LocName": {
|
||||
"type": "cexolocstring",
|
||||
"value": {
|
||||
"0": "alchem"
|
||||
}
|
||||
},
|
||||
"MarkDown": {
|
||||
"type": "int",
|
||||
"value": 45
|
||||
},
|
||||
"MarkUp": {
|
||||
"type": "int",
|
||||
"value": 100
|
||||
},
|
||||
"MaxBuyPrice": {
|
||||
"type": "int",
|
||||
"value": 1000
|
||||
},
|
||||
"OnOpenStore": {
|
||||
"type": "resref",
|
||||
"value": "clearmerchant"
|
||||
},
|
||||
"OnStoreClosed": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
},
|
||||
"ResRef": {
|
||||
"type": "resref",
|
||||
"value": "alchem"
|
||||
},
|
||||
"StoreGold": {
|
||||
"type": "int",
|
||||
"value": -1
|
||||
},
|
||||
"StoreList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0
|
||||
},
|
||||
{
|
||||
"__struct_id": 4
|
||||
},
|
||||
{
|
||||
"__struct_id": 2
|
||||
},
|
||||
{
|
||||
"__struct_id": 3
|
||||
},
|
||||
{
|
||||
"__struct_id": 1,
|
||||
"ItemList": {
|
||||
"type": "list",
|
||||
"value": [
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "alchemistsfire"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 1,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_antitox"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 2,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_blendcrm"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 3,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_crcklpdr"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 3
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 4,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_emblmfr"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 4
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 5,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_fareyeoil"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 5
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 6,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_healblm"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 6
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 7,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_keenear"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 7
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 8,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_lockslip"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 8
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 9,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_natdrgt"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 9
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 10,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_nerv"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 11,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_scrmflsk"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 3
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 12,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_shedden"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 4
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 13,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_shedden2"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 5
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 14,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_brittlebn"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 6
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 15,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x2_it_acidbomb"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 7
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 16,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x1_wmgrenade001"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 8
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 17,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x1_wmgrenade002"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 9
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 18,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x1_wmgrenade004"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 19,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x2_it_firebomb"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 20,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x1_wmgrenade006"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 21,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "x1_wmgrenade007"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 4
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 22,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_acidfire"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 5
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 23,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_alcslpgas"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 6
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 24,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_alcfrost"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 7
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 25,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_alcspark"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 8
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 26,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_biledrp"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 9
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 27,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_festerbmb"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 0
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 28,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_flashplt"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 1
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 29,
|
||||
"Infinite": {
|
||||
"type": "byte",
|
||||
"value": 1
|
||||
},
|
||||
"InventoryRes": {
|
||||
"type": "resref",
|
||||
"value": "prc_it_weepstn"
|
||||
},
|
||||
"Repos_PosX": {
|
||||
"type": "word",
|
||||
"value": 2
|
||||
},
|
||||
"Repos_Posy": {
|
||||
"type": "word",
|
||||
"value": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Tag": {
|
||||
"type": "cexostring",
|
||||
"value": "alchem"
|
||||
},
|
||||
"WillNotBuy": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
},
|
||||
"WillOnlyBuy": {
|
||||
"type": "list",
|
||||
"value": []
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user