Jump to content
  • Topics

  • Posts

    • Couldn't you do that through a "mixin"?
    • Here is an intermediate step recover-resources.mod  V1.32. - not taking into account @Thalatta's latest comments yet, unfortunately. Version 1.3.2 · for 0 A.D. release 28 and the release 29 development builds When you delete one of your own structures, ships or siege engines, you get back a share of its resource cost, provided the situation allows it. What comes back is the salvage rat (30 % by default) multiplied by the object's health condition, meaning its remaining health. Food is never given back. Rules and Constraints:  Only your own deliberate deletion (Delete key / delete button) triggers a refund.  Nothing is refunded when an enemy destroys the entity. The refund is based on the entity's current cost, including cost modifiers from technologies and civilisation bonuses. Food is excluded: it was eaten during  construction, while timber, stone and metal can be carried away. Entities you captured or converted from another player (or from Gaia) are not refunded. Ships are only refunded when deleted within 30 m of one of your own finished docks.  Otherwise the message says how many ships gave nothing back. Siege engines are only refunded while they stand inside your own territory, e.g. a catapult abandoned deep in enemy land gives nothing back. The refund shrinks with condition: a ram at 40 % health gives back 40 % of the usual amount. Buildings (nw including walls and towers) must pass three rules: not attacked or captured in the last 15 seconds, no enemy capture progress and not decaying outside your borders, and one of your worker units within 20 m to do the work. Fields are never refunded.   Nothing you delete dies at once. Buildings are dismantled and units disbanded over 10 seconds, losing health as they go, and any resources only arrive at the end (units don't give back resources). Pressing delete again calls it off and the drained health is given back; an enemy hit interrupts it the same way. Units take just as long even though they hand nothing back. Anything under threat is the exception: it falls the moment you press delete, because under fire there is no time for an orderly teardown. That means anything hit in the last 5 seconds, or with an armed enemy within 40 m — enemies closing in count even before the first blow lands. Whether it still pays out is decided by the ordinary rules, so a building under attack dies at once and gives nothing. Unfinished foundations are skipped because the base game already refunds the unbuilt part of their cost. Deletions the game itself blocks (for example, a building that is mostly captured) get no refund. A short message shows how much was recovered. recover-resources.zip README.md
    • Thanks; I'll bring more images and news soon.
    • A new realease of post-Atlas is available (see intial post of this threat).  I covers these bugs: changed to the game's standard spelling (hopefully captured all issues) show natural food resources placed on the map in analyze tab/resources table  make the finding table sortable allow re-reading the map after changing (re-analyze button) conversion process can be stopped. added support for nomad mode And these new features: Assess balance of resources amongst players (imbalance might be an intended challenge hence this is only an indicational warning) Added a way to edit map properties (analyze tab, edit button), so that it is possible to edit description, names, map characteristics, players etc. without re-opening Atlas. Please let me know your observations, criticism, found bugs, new ideas, improvement suggestions etc.! 
    • I know. I'm currently working on too many other things to implement it myself, but if anyone does (preferably without an LLM) I would be happy to review and merge it. I suppose the main question is where and how big to display each of the names.
×
×
  • Create New...