Current time: 23.11.2024, 10:59 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Альтернативные Существа
» До 4-х существ на городское жилище
Author Message
Berserker Offline
Administrators

Posts: 16657
Post: #1

Name: Extended Dwellings
Version: 1.0.0
Requires: Era 2.9.9+
Download: Extended Dwellings

; Extended Dwellings Mod
; Author: Berserker
; Version: 1.0.0
;
; The mod allows to set up to 4 slots for each town dwelling.
; Each slot can be either an alternative creature or additional creature.
;
; Alternative creature uses native dwelling population, though custom quantity ratio can be set.
; For instance, 1 golem can be bought at the cost of 12 gremlins population. Such slots
; are called alternatives, because you cannot buy max creatures from several alt slots.
;
; Additional slots are not connected to native dwellings population. Their population can be set manually
; via ERM or be increased automatically every week, like it's done for native dwellings.
;
; Use the following documented functions:
; "dex_DwellingPopulation" to set/mofidy additional slots population amount
; "dex_SetDwellingSlotByTownType" to configure slot for all towns of given type.
; "dex_GetDwellingSlotByTownType" to get slot configuration for particular all towns of given type.
; "dex_SetDwellingSlotByTownId" to configure slot for particular town (has priority over dex_SetDwellingSlotByTownType).
; "dex_GetDwellingSlotByTownId" to get slot configuration for particular town (has priority over dex_GetDwellingSlotByTownType).
;
; For old mods, depending on battery.dll plugin, an extra "dex_CA_D" function was added with almost same syntax as CA:D.
; Better use newer API for much easier setup, including real alternative slots and auto-growing population for additional slots.

Example:

!?FU(OnAfterErmInstructions);
!!re i/0/8:;
    !!FU(dex_SetDwellingSlotByTownType):Pi/0/0/2/120/-1007;
!!en:;

For each town type assigns to non-upgraded level 1 dwelling one extra slot with standalone auto-growing population of 7 Physic Elementals per week. Build Castle to have 14 elementals per week or 21 with Grail.

!?FU(OnAfterErmInstructions);
!!re i/0/8:;
    !!FU(dex_SetDwellingSlotByTownType):Pi/0/0/2/120/5;
!!en:;

Same as above, but elementals are ALTERNATIVE to native creatures and can be hired at ratio 1 elemental at cost of 20 native creatures (5% = 1/20).[/smileys]


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
18.01.2020 02:06
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2

Berserker, hi! Would you update the thread with a permanent link, as in Heroes Community?


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 25.12.2021 16:50 by Archer30.)
25.12.2021 15:42
Find all posts by this user Quote this message in a reply
AnT Offline

Posts: 35
Post: #3

ссылка не работает
27.08.2023 07:28
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4

AnT, обновил первый пост.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
27.08.2023 21:52
Find all posts by this user Quote this message in a reply
edwardsjethro Offline

Posts: 1
Post: #5

Большое спасибо.
29.03.2024 21:14
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group