fixed drip-entity (was stowing duration in wrong state-var)
fixed defaultstate for chunks-entity (material was 0 = none, fixed to 1 = metal)
disabled spawnfunction for all non-functional SP-Ports (I might look into them gain... maybe I just need to find their shaders)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
selfdestruct will now look out for a healthEnt and - if found - will rig it for a kill and call it's usefunction, which will do all the killing instead.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
made target_alert toggle the shields automatically and appropriately
however if you toggle red alert (even just for audio) at low hull it blows up the ship
minor alteration to selfdestruct command description
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
added another layer of shield indicator (-2) to the system. Indicators are now
offline (-2, shields are not charged)
inoperable (-1 shield emiters destroyed)
standing by (0, shields charged, no alert ongoing)
online (1, shields charged, alert ongoing)
Also eased off on the shiphealth command
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Turned out simply using '/' for divisions didn't do the trick so i tried '* pow(x, -1)' instead and it got all my issues working ^^
Also added a functionality that selects colors for the appropriate condition of shields and hull.
Added the failsave-functionality to the entity for shield reenstatement
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Tried to replace some int's and float's with double's, no negative effect however the bugs still exist.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Bit of restructuring in the command.
Fixes to the entity so it will fire all systems.
Need to look in the random-functions. The systems are firing out every hit.
Also relative Strength does not work in Shiphealth command (gives either 100 or 0)
Aditionally forced SD-Killmode active with the target merely being for FX.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
- acccessing the user DB now works. if it does not exist it will be
created
- adding new users with the useradd command works again
- userlogin command works again