project-navigation
Personal tools

Author Topic: Preliminary question: economics  (Read 6961 times)

Offline jffdougan

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Preliminary question: economics
« on: March 01, 2013, 03:36:10 am »
Can somebody point me to the files where data relating to item pricing, man-hours to construct items, engineer salaries and workshop maintenance costs? I'm working up a proposal connected to what feels like a tighter economy in v. 2.5-dev compared to v. 2.4, but would like to make it a little more concrete.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Preliminary question: economics
« Reply #1 on: March 01, 2013, 05:29:28 am »

Offline jffdougan

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Re: Preliminary question: economics
« Reply #2 on: March 01, 2013, 05:52:48 am »
Thanks. This might be a bit to work up then, although the gist of half of the proposal is reducing the cost to manufacture items by a factor related to the number of man-hours required to produce them and the hourly engineer wages & facility upkeep costs. (Right now, manufacturing is a money-losing proposition; what I'm suggesting essentially makes it "break even").

The other half was going to be to allow the sale of alien corpses for research purposes.

Loosely related to which -- I just accidentally killed all 3 captured aliens I had while trying to figure out where my statistics on number of alien corpses were. Is there a way I can retrieve one of the post-mission autosaves to undo that? (or are they pre-mission?)

Offline Noordung

  • Squad Leader
  • ****
  • Posts: 285
    • View Profile
Re: Preliminary question: economics
« Reply #3 on: March 01, 2013, 05:01:22 pm »
You are not really factory to make profit out of your produced items... but maybe something like if one thing is worh 100 than you would pay 100 for buying, get 70 for selling and need 60 for producing it.
I also think alien ammo is a little to expensive while alien materials and antimatter could be worth more.

Offline jffdougan

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Re: Preliminary question: economics
« Reply #4 on: March 01, 2013, 09:13:46 pm »
I put some of this into a PM thread with HHour, but let's lay out my thinking before I get too far on this:

- It has been determined by UFO:AI's powers that be that they are not interested in having manufacture for profit be a significant source of income for the game. Therefore, what I propose won't, in net, result in manufacture for profit contributing to the game's economy. However,...

- At present, after engineer salaries and monthly workshop maintenance costs are accounted for, manufacture of Terran technology is a net /loss/ compared to simply purchasing items in the open market. This strikes me as counter-intuitive.

- I'll dig through some of the scripts to see if I can work out what this might look like. I have, however, been cautioned that the game's code may not have a way to implement what I'm suggesting.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Preliminary question: economics
« Reply #5 on: March 04, 2013, 10:23:32 pm »
You can set production_price for items which defaults to the buy price if not set, but cannot sell corpses...

-geever

Offline Unisol

  • Rookie
  • ***
  • Posts: 49
  • There's only one way to deal with delicious pit.
    • View Profile
Re: Preliminary question: economics
« Reply #6 on: March 04, 2013, 10:33:10 pm »
You can set production_price for items which defaults to the buy price if not set, but cannot sell corpses...

-geever
Wait, one can do that by modifying .ufo files? All glory to the first one to create mod where production is actually profitable.

Offline jffdougan

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Re: Preliminary question: economics
« Reply #7 on: March 04, 2013, 11:12:23 pm »
You can set production_price for items which defaults to the buy price if not set, but cannot sell corpses...

-geever

Is there an underlying reason (either code-based or story-based) for that? I could imagine that all kinds of research labs would be interested in acquiring them.

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Preliminary question: economics
« Reply #8 on: July 06, 2014, 11:14:07 pm »
How much is the maintenance cost for the aircrafts? I rise the cost of each of them.

Offline se5a

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Preliminary question: economics
« Reply #9 on: September 11, 2014, 04:22:13 am »
I tried adding production_price for the medkit and nothing happened.
tried it in both research.ufo and weapons.ufo

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Preliminary question: economics
« Reply #10 on: September 11, 2014, 05:39:42 am »

A quick search of the source code reveals it should be "productioncost" in the item definition (weapons.ufo) instead.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Preliminary question: economics
« Reply #11 on: September 11, 2014, 08:17:49 pm »
A quick search of the source code reveals it should be "productioncost" in the item definition (weapons.ufo) instead.

Yeah, sorry for the confusion. I should update the wiki documentation...

-geever

Offline se5a

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Preliminary question: economics
« Reply #12 on: September 12, 2014, 07:51:33 am »
Ah yes, that does it, thanks.