forgottenserver icon indicating copy to clipboard operation
forgottenserver copied to clipboard

[Suggestion] Add housePriceAsRent config

Open EPuncker opened this issue 3 years ago • 2 comments

Explanation of what you want to do that is currently impossible

Most, if not all the maps we download, doesn't have house rent set. Old 0.4 tfs had a handy config.lua setting called housePriceAsRent to be used in this case, because its not funny to calculate and add rent price to each house manually in RME...

Desired functionality

Being able to set house rent price as house price by using a Boolean config.

Available workarounds

none

Prior art

https://github.com/Fir3element/3777/search?q=HOUSE_PRICEASRENT

EPuncker avatar Apr 17 '22 07:04 EPuncker

the values of the houses are defined in housePriceEachSQM, only in cases where the value is not defined in Remere's Map Editor

omarcopires avatar Apr 18 '22 18:04 omarcopires

the values of the houses are defined in housePriceEachSQM, only in cases where the value is not defined in Remere's Map Editor

no, map editor rent price is different from house price

RME rent price: used with houseRentPeriod, and mostly 0 for every map if you are not using RL map

House price: set with housePriceEachSQM at config.lua and used only by the !buyhouse command

EPuncker avatar Apr 19 '22 01:04 EPuncker