More function requests.

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

Wed Jun 11, 2014 2:35 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.8 Beta...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
Download and Play in 1.7...
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Playership Drones v7 (Beta): (OUTDATED!) Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Work in progress... Playership Drones v8: Work just started! Details to come later...

TVR
Militia Commander
Militia Commander
Posts: 334
Joined: Sat Sep 08, 2012 3:26 am

Wed Jun 11, 2014 4:53 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

Fri Jun 13, 2014 7:32 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