研究奖励框架 ResearchRewardsFramework
*Machine Translate* Research rewards This is a simple framework that provides the ability to send custom rewards after a tech was completed.
*Machine Translate*
Research rewards
This is a simple framework that provides the ability to send custom rewards after a tech was completed.
Current rewards support types:
buildings, weapons, clothing(Materials can be selected.);
items;
Mechs;
animals(Only cubs can be provided for now.)
it is possible to generate humans with limited player's faction, but it has not been tried.
Future goals:
Customize various attributes of human generation / generate hostile creatures(√) / can customize the growth stage(√) .
Customize the reward pool and odds.(soooon~)
It will write a tutorial later, you can also refer to my example mod: 机械师大礼包.
23.10.27 Update: ① Research reward tips now can be Letter!
② Now you can spawn hostile creatures.
③ You can customize the growth stage of non-hostile pawn, if you do not set the default as a Newborn (hostile pawns are Adult by default, if you really want Baby enemy...Oh my God.).
23.10.30 Update: ① The tip envelope now points to the location of the reward pods!
Added the Loop Research. Example: the new mod: CompileTechCore
Simple tutorial:
Examples of xml documents:
The type and quantity of dropped items, defName is Beer, and the default read object value is count.
containing building (bed) and building's material (steel)
The MechPawns node contains child node for "Drop Friendly creatures" and "Custom Development Stage". The Development stage is Newborn by default, so the mechs can ignore the
Development stage:Newborn、Baby、Child、Adult
Like the envelope in which the research was completed, this one is title.
This is the contents of the envelope.
The default is no. "yes" will enable the loop Research. You need to fill in the defName of the loop Research in the node named "def" below.
23.12.14 Update: You can customize the quality of stuffThings And dropPodThings
Awful, Poor, Normal, Good, Excellent, Masterwork, Legendary is optional