RimWorld

RimWorld

Hauts' Framework
Zobrazuje se 1–10 z 65 položek
< 1  2  3  4  5  6  7 >
Aktualizace: 1. říj. v 17.35

v1.2.08
==Improved modding tools==
-Spy points
----The example hediff’s tooltip is more accurate
----Spy points are no longer always awarded to the spyingForFaction, but now are assigned to one or more factions based on the SpyPointsAttribution spyPointAttribution field. OwnFaction only grants points to the spyingForFaction; AllPermaHostile grants to all factions that are permanently hostile to the player; AllHostile grants to all factions that are hostile to the player; RandomHostileFactions grants to up to int randomFactionCount factions that are hostile to the player; and All grants to all factions other than the player

Aktualizace: 20. zář. v 13.59

v1.2.07
==New modding tools==
-HautsUtility.AddHediffFromMenu(HediffDef, Pawn, CompAbilityEffect_GiveHediffFromMenu, Pawn other, Pawn caster) handles the adding of a hediff from CompAbilityEffect_GiveHediffFromMenu, including the hediff’s Disappears, Link, and MultiLink comps, if any

==Improved modding tools==
-HediffCompProperties_WaterImmersionSeverity gains the bool disabledIfNotSlowedInWater field; if true, and the pawn is either floating or has a WaterCellCost <=1, the hediff’s severity will be stuck at baseSeverity
AI automatic choice selection for CompAbilityEffect_GiveHediffFromMenu now uses HautsUtility.AddHediffFromMenu
-HediffComp_ExtraOnHitEffects gains the virtual bool RangeCheck(Thing, DamageInfo) method which determines whether or not the victim Thing is in valid range of the attacker. It now treats the distance between Thing and attacker as being shorter by the damage info’s weapon’s VEF_MeleeWeaponRange, if any. Range is no longer handled in CanHitTarget, but rather before it

Aktualizace: 16. zář. v 23.04

v1.2.06
==1.6 mod compatibility restoration==
Verified the compat for Traits Expanded! works in 1.6

==Mod compatibility==
[SR]Realistic Ore Generation (Continued): the latter must be loaded above the former in order for survey speed to apply to its rework of the long-range mineral scanner

==Improved modding tools==
-CompAbilityEffect_GiveHediffFromMenu now has string menuString and bool autoSelectIfAI (default true) fields; the former provides the text header for the menu (translated w/ the target’s name), and the latter causes any pawn not of the player faction w this ability to instantly apply it to themselves whenever it’s available. This application grants a random hediff from the menu, and triggers the ability's CompAbilityEffect_RemoveHediff (if any), but does not trigger any of its other comps

Aktualizace: 7. zář. v 22.46

v1.2.05
==Improved modding tools==
-Resurrection forces TraitGrantedStuff to regenerate

Aktualizace: 6. zář. v 10.57

v1.2.04
==Performance improvements==
-HautsUtility.IsHighFantasy() is now a static value, assigned during game initialization based on the presence or absence of RPG Adventure Flavour Pack

==Bugfixes==
-To avoid issues w/ [Biotech] mech command range, Hauts’ Framework must now be loaded above [AV] Framework

==Mod compatibilities==
-[AV] Mechtech: basic mechlink works w/ mech command range, instead of having 0 radius
-[AV] Tribal Mechlink: anima core works w/ mech command range, instead of having 0 radius

==Improved modding tools==
-HediffComp_MultiLink gains the virtual void DoToDistanceBrokenLink(Thing) method, which allows you to do things to a linked Thing whose link breaks due to distance

==New modding tools==
-HautsUtility.mechlinkDefs is a public (and therefore modifiable during the game) list of all HediffDefs that have an MCR_Storage comp (i.e. just the mechlink in the base game, but also the mechlinks added by [AV] mods)
-HautsUtility.IsMechlink(Hediff) tells you if a hediff is in mechlinkDefs
-HautsUtility.GetStrongestMechlink(Pawn) gives you the IsMechlink hediff of that pawn that has the highest mech command range

Aktualizace: 4. zář. v 22.09

v1.2.03
==Bugfixes==
-TraitGrantedStuff can now only manipulate the body types of humans, resolving issues w/ various HAT-dependent mods
-RoyalTitlePermitWorker_TargetPawn usage on caravans now properly references the caller, and it checks if there is anywhere to make a sound at if it should make a sound

==Improved modding tools==
-RoyalTitlePermitWorker_TargetPawn: accessibility level of AffectPawn method private→protected

Aktualizace: 3. zář. v 21.14

v1.2.02
==[Royalty] Improved modding tools==
-RoyalTitlePermitWorker_MultiplyItemStack now uses extraNumber (and it must be declared): if the targeted item’s stack count exceeds the upper limit of extraNumber, it only takes an amount from the stack equal to extraNumber’s upper limit
-RoyalTitlePermitWorker_TargetPawn can now be used on caravans. This is governed by the GiveHediffInCaravanInner(Pawn caller, Faction faction, bool free, Caravan caravan) virtual method, which by default just gives the hediff to the caller

Aktualizace: 28. srp. v 22.29

v1.2.01
==Bugfixes==
-Updated the assembly references for Vanilla Factions Expanded - Pirates to their 1.6 versions

Aktualizace: 25. srp. v 9.47

v1.2.0
==Bugfixes==
-[Royalty] RoyalTitlePermitWorker_TargetPawn now has proper checks for not being usable underground or when the permit’s faction is hostile to the player

==Removed modding tools==
-RoyalTitlePermitWorker_CaravanBoost: unused and very awkward

==‘New’ modding tools==
-Transferred PsychicAwakeningUtility.MakeGoodEvent from HAT to this Framework, now named 'HautsUtility.MakeGoodEvent'. It makes a random incident from the good event pool happen

==Improved modding tools==
-Added additional Variable Tick Rating to HediffComp_Aura. Also, they can now be moteless
-RoyalTitlePermitWorker_MultiplyItemStack is, like most other permit workers, disabled if the faction that grants it is hostile to the player, or if underground
-The CauseCondition, DropBook, DropPawns, DropResourcesOfCategory, DropResourcesStuff, GenerateQuest, MultiplyItemStack, and TargetPawn RoyalTitlePermitWorkers have these new methods:
----virtual bool OverridableFillAidOption(Pawn pawn, Faction faction, ref string text, out bool free) returns base.FillAidOption by default; governs what this permit looks like in the permit float menu
----virtual bool IsFactionHostileToPlayer(Faction faction, Pawn pawn) returns if ‘faction’ is hostile to the player faction by default; governs whether the permit should be disabled due to hostility w the faction that grants it
----virtual void DoOtherEffect(Pawn caller, Faction faction) does nothing by default; triggers immediately after the permit goes on cooldown

Aktualizace: 21. srp. v 10.30

v1.1.45
==Improved modding tools==
-PermitMoreEffects gains the bool allRandomOutcomesMustBeSamePerUse field, w/ the following effects when true
----All items dropped by RoyalTitlePermitWorker_DropResourcesOfCategory are of the same ThingDef
----All pawns dropped by RoyalTitlePermitWorker_DropPawns are of the same PawnKindDef