diff --git a/_module/are/jail.are.json b/_module/are/jail.are.json index 30f89921..f8d1ba28 100644 --- a/_module/are/jail.are.json +++ b/_module/are/jail.are.json @@ -1193,7 +1193,7 @@ }, "Version": { "type": "dword", - "value": 48 + "value": 50 }, "Width": { "type": "int", diff --git a/_module/are/panoptican.are.json b/_module/are/panoptican.are.json index e47958f8..7da9bc0a 100644 --- a/_module/are/panoptican.are.json +++ b/_module/are/panoptican.are.json @@ -2569,7 +2569,7 @@ }, "Version": { "type": "dword", - "value": 69 + "value": 70 }, "Width": { "type": "int", diff --git a/_module/git/panoptican.git.json b/_module/git/panoptican.git.json index 1faa60b5..0bd40eae 100644 --- a/_module/git/panoptican.git.json +++ b/_module/git/panoptican.git.json @@ -5679,15 +5679,15 @@ }, "X": { "type": "float", - "value": 47.74093627929688 + "value": 47.79956817626953 }, "Y": { "type": "float", - "value": 41.72182846069336 + "value": 41.75308609008789 }, "Z": { "type": "float", - "value": 9.5367431640625e-007 + "value": -5.7220458984375e-006 } }, { @@ -11063,7 +11063,7 @@ }, "XOrientation": { "type": "float", - "value": -0.9420575499534607 + "value": 0.9924795031547546 }, "XPosition": { "type": "float", @@ -11071,7 +11071,7 @@ }, "YOrientation": { "type": "float", - "value": -0.3354513943195343 + "value": 0.1224108561873436 }, "YPosition": { "type": "float", @@ -11124,7 +11124,7 @@ }, "XOrientation": { "type": "float", - "value": 0.3826837241649628 + "value": -0.3826834261417389 }, "XPosition": { "type": "float", @@ -11132,7 +11132,7 @@ }, "YOrientation": { "type": "float", - "value": -0.9238793849945068 + "value": 0.9238795638084412 }, "YPosition": { "type": "float", @@ -11185,7 +11185,7 @@ }, "XOrientation": { "type": "float", - "value": 0.8314697742462158 + "value": -0.3368898332118988 }, "XPosition": { "type": "float", @@ -11193,7 +11193,7 @@ }, "YOrientation": { "type": "float", - "value": -0.5555699467658997 + "value": 0.9415440559387207 }, "YPosition": { "type": "float", @@ -11246,7 +11246,7 @@ }, "XOrientation": { "type": "float", - "value": -0.3368898332118988 + "value": 0.4713970422744751 }, "XPosition": { "type": "float", @@ -11254,7 +11254,7 @@ }, "YOrientation": { "type": "float", - "value": 0.9415440559387207 + "value": -0.881921112537384 }, "YPosition": { "type": "float", @@ -11307,7 +11307,7 @@ }, "XOrientation": { "type": "float", - "value": 0.9583225250244141 + "value": -0.9700313210487366 }, "XPosition": { "type": "float", @@ -11315,7 +11315,7 @@ }, "YOrientation": { "type": "float", - "value": 0.2856886088848114 + "value": -0.2429799735546112 }, "YPosition": { "type": "float", @@ -11368,7 +11368,7 @@ }, "XOrientation": { "type": "float", - "value": -0.975702166557312 + "value": 0.8819212317466736 }, "XPosition": { "type": "float", @@ -11376,7 +11376,7 @@ }, "YOrientation": { "type": "float", - "value": -0.2191010862588882 + "value": 0.4713967740535736 }, "YPosition": { "type": "float", @@ -11429,7 +11429,7 @@ }, "XOrientation": { "type": "float", - "value": 0.5792809724807739 + "value": -0.5555703639984131 }, "XPosition": { "type": "float", @@ -11437,7 +11437,7 @@ }, "YOrientation": { "type": "float", - "value": 0.8151279091835022 + "value": -0.8314695358276367 }, "YPosition": { "type": "float", diff --git a/_module/ncs/random_drop.ncs b/_module/ncs/random_drop.ncs index ddadec61..e664912d 100644 Binary files a/_module/ncs/random_drop.ncs and b/_module/ncs/random_drop.ncs differ diff --git a/_module/nss/random_drop.nss b/_module/nss/random_drop.nss index 3cf82f84..c0aa668d 100644 --- a/_module/nss/random_drop.nss +++ b/_module/nss/random_drop.nss @@ -4,16 +4,19 @@ void main() object oItem = GetFirstItemInInventory(oNPC); while (GetIsObjectValid(oItem)) - { - // if item set to droppable it will 100% drop - if (GetDroppableFlag(oItem)== TRUE) { - SetDroppableFlag(oItem, TRUE); + if (GetDroppableFlag(oItem) == TRUE) + { + //items already set as droppable should stay that way + SetLocalInt (oItem, "droppable", 1); + GetNextItemInInventory(oNPC); + } + if (GetLocalInt(oItem, "droppable") == FALSE) + { + //20% chance to drop item inventory not already set as droppable + int bDroppable=d100()>80; + SetDroppableFlag(oItem, bDroppable); + oItem = GetNextItemInInventory(oNPC); } - //10% chance of item in inventory being droppable if not marked droppable - int bDroppable=d100()>90; - - SetDroppableFlag(oItem, bDroppable); - oItem = GetNextItemInInventory(oNPC); } } diff --git a/_release/Aantioch [PRC-CEP3].7z b/_release/Aantioch [PRC-CEP3].7z index 609930fe..e1c025d2 100644 Binary files a/_release/Aantioch [PRC-CEP3].7z and b/_release/Aantioch [PRC-CEP3].7z differ