Wake of Gods Forum | Форум Во Имя Богов
Алтернативные Существа - Printable Version

+- Wake of Gods Forum | Форум Во Имя Богов (http://wforum.heroes35.net)
+-- Forum: Герои Меча и Магии 3.5 WoG/ERA (/forumdisplay.php?fid=99)
+--- Forum: Моды (/forumdisplay.php?fid=104)
+--- Thread: Алтернативные Существа (/showthread.php?tid=5431)


Алтернативные Существа - Berserker - 18.01.2020 02:06

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]


RE: Алтернативные Существа - Archer30 - 25.12.2021 15:42

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


RE: Алтернативные Существа - AnT - 27.08.2023 07:28

ссылка не работает


RE: Алтернативные Существа - Berserker - 27.08.2023 21:52

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


RE: Алтернативные Существа - edwardsjethro - 29.03.2024 21:14

Большое спасибо.