The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(779) : eval()'d code 33 errorHandler->error
/global.php 779 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 837 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4950 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 4950 errorHandler->error
/global.php 837 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 179 errorHandler->error



High Frontier Forums
buildings & projects - Printable Version

+- High Frontier Forums (http://highfrontier.com/forum)
+-- Forum: Mods (http://highfrontier.com/forum/forumdisplay.php?fid=12)
+--- Forum: Mod Development (http://highfrontier.com/forum/forumdisplay.php?fid=14)
+--- Thread: buildings & projects (/showthread.php?tid=216)



buildings & projects - JoeStrout - 05-05-2017

FYI, in 0.27, we now have the ability to make buildings require certain projects.

All our of the built-in buildings are in fact implemented as mods.  As are the projects (you know, the tree of things you can spend your XP on).  They're just mods that happen to be built into the game.

Well, for version 0.27 we needed to make the high-density agriculture buildings require the CELS project (ticket #251).  So we added a simple "requires" property you can put in any building mod, that makes the building unavailable until that project is completed (except in sandbox mode of course).

All this means that mod developers can now make mods that add new projects, and new buildings that depend on those projects!  Pretty neat, eh?