diff options
Diffstat (limited to 'npc/020-5/bracco.txt')
-rw-r--r-- | npc/020-5/bracco.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index 881b842ca..659505db8 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -10,6 +10,7 @@ 020-5,31,25,0 script Bracco NPC_M_SHOPKEEPER,{ goto L_Start; + // NewMeltdown( item ) // Meltdown the item for realz function NewMeltdown { @@ -136,8 +137,6 @@ delinventorylist(); getinventorylist(); - delitem .@id, .@total; // Delete first, no refunds - freeloop(true); for (.@index=0; .@index < @inventorylist_count; .@index++) { .@x=@inventorylist_id[.@index]; @@ -152,6 +151,10 @@ } } freeloop(false); + + // TODO: Put this in a timer so it can't be exploited + delitem .@id, .@total; // Delete first, no refunds + @indexisbroken=true; return; } |