[1.5] (intDestroyItems ...) only destroys 30% of some items.

Bug reports for the stable versions go here.
Post Reply
PM
Fleet Admiral
Fleet Admiral
Posts: 2189
Joined: Wed Sep 01, 2010 12:54 am

[1.5] (intDestroyItems ...) only destroys 30% of some items.

Post by PM » Sat Sep 13, 2014 4:29 pm

For items other than armor or devices, 70% of the item count is saved, not destroyed. In other words, only 30% "...of other items are destroyed", not 70%.

Line 291 of Code.xml has this:

Code: Select all

(setq undamagedItemCount (divide (multiply 70 (itmGetCount theItem)) 100))
The 70 should be replaced by a 30.
Download and Play in 1.7 Beta...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): Updated for 1.7! More hardware for combat in parts 1 and 2!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.

PM
Fleet Admiral
Fleet Admiral
Posts: 2189
Joined: Wed Sep 01, 2010 12:54 am

Re: [1.5] (intDestroyItems ...) only destroys 30% of some it

Post by PM » Fri Dec 26, 2014 7:15 pm

Code remains unchanged in 1.5.
Download and Play in 1.7 Beta...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): Updated for 1.7! More hardware for combat in parts 1 and 2!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest