The International Simutrans Forum

 

Author Topic: Patch: Buy houses to protect them  (Read 4005 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4870
  • Languages: EN, DE, AT
Patch: Buy houses to protect them
« on: June 19, 2009, 05:30:02 PM »
http://simutrans-germany.com/~patches/upload/denkmalschutz-2538.patch

With this patch one can buy houses. Then they will not get removed if the city expands. Also other players can not remove them. 

You have to insert something in menuconf.tab to get the new tool general_tool[35].

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: Patch: Buy houses to protect them
« Reply #1 on: June 19, 2009, 07:40:21 PM »
Building level start from zero. You need to add 1.
And also, you need to add minus accounting.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10642
  • Languages: De,EN,JP
Re: Patch: Buy houses to protect them
« Reply #2 on: June 20, 2009, 08:12:33 PM »
Also maintaining costs are needed to be taken care of.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: Patch: Buy houses to protect them
« Reply #3 on: June 21, 2009, 05:42:14 AM »
So, is accounting maint_building or cst_multiply_remove_haus ?
I think maint_building is too cheap.

And you didn't add 1.


[edit]
This doesn't work after reloading savegame. I recalled this patch.
So, citybuildings of level 0 is free from cost and maintenance cost.
« Last Edit: June 21, 2009, 11:55:31 AM by z9999 »