Majic-Jungle / sapiens-mod-creation

Official tools and examples for mod creation in the game Sapiens
MIT License
54 stars 12 forks source link

Expose `planHelper.lua` #9

Closed SirLich closed 2 years ago

SirLich commented 2 years ago

All of the availablePlansFor<x>Objects should be exposed. Additionally, please expose the local data where you define per-asset things.

For example:

local huntPlanInfosByObjectType = {
    [gameObject.types.chicken.index] = basicHuntingInfo,
    [gameObject.types.alpaca.index] = spearHuntingInfo,
    [gameObject.types.mammoth.index] = spearHuntingInfo
}

This needs to be exposed so I can add my custom mob here.

mjdave commented 2 years ago

fixed in b20