More function requests.

Post ideas & suggestions you have pertaining to the game here.
Post Reply
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Find poweruse of item
I tried something like (itmGetDataField thisItem "powerUse") but got only a Nil result. I like to know how much power an item needs without using a brute force check on ships with varying reactorPower stats.

Find special weapon properties
...Such as mining so that only ships with mining laser, plasma torch, or other similar weapons can be ordered to mine.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
TVR
Militia Commander
Militia Commander
Posts: 334
Joined: Sat Sep 08, 2012 3:26 am

Just reverse-engineered obtaining powerUse of deviceItems:

Code: Select all

(itmGetProperty itemUNID/itemStruct "power")
Returns powerUse of item in kilowatts.
Fiction is reality, simplified for mass consumption.
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

I'd like some way to set a player's target that doesn't interfere with mission data. Currently the only way to do so is shporder or shporderimmediate, and they mess up mission pointers.
Literally is the new Figuratively
Post Reply