-
Notifications
You must be signed in to change notification settings - Fork 108
Requirements
The 0-SCore provides some new Buff Requirements.
Example: The faction relationship must be "like" or higher.
<requirement name="FactionRelationshipValue, SCore" operation="GTE" value="like" />
<!-- You can also use the numeric value for "like": -->
<requirement name="FactionRelationshipValue, SCore" operation="GTE" value="600" />
Example: You have set a custom cvar named "charisma", with a value of 0 - 1000, and the faction
relationship must be lower than that value.
<requirement name="FactionRelationshipValue, SCore" operation="LT" value="@charisma" />
<!-- Happens when the item is 100% broken -->
<requirement name="HoldingItemDurability, SCore" operation="Equals" value="1"/>
<!-- Happens when the item is 50% broken -->
<requirement name="HoldingItemDurability, SCore" operation="Equals" value="0.5"/>
<!-- Every dawn at 7 -->
<requirement name="RequirementEveryDawn, SCore" value="7"/>
<!-- Every 7 days -->
<requirement name="RequirementEveryXDaySDX, SCore" value="7"/>
<!- Blood Moon -->
<requirement name="RequirementEveryXDaySDX, SCore" value="0"/>
<!-- Every 7th hour -->
<requirement name="RequirementEveryXHourSDX, SCore" value="7"/>
<!-- true if not a blood moon -->
<requirement name="RequirementIsBloodMoonDMT, SCore" invert="true" />
<!-- true if a blood moon -->
<requirement name="RequirementIsBloodMoonDMT, SCore" />
<!-- is within 5 blocks of a fire. Uses fire mod -->
<requirement name="RequirementIsNearFire, SCore" range="5" />
<!-- Is the player outside, with an open sky above ?-->
<requirement name="RequirementIsOutdoor, SCore" />
<!-- Is the player underneath the terrain -->
<requirement name="RequirementIsUnderGround, SCore" />
<!-- Is the player looking at the specified tile entity? -->
<requirement name="RequirementLookingAt, SCore" block="campfire" />
<!-- Is the player looking at one of the specified tile entities? -->
<requirement name="RequirementLookingAt, SCore" block="campfire, workstation" />
<!-- is the player looking at any tile entity? -->
<requirement name="RequirementLookingAt, SCore" block="Any" />
<!-- This cvar will be placed on the player, but it's really just an offset.
if the block is lower than your feet, this value will be -1.
If the block is the same y position, this value will be 0.
if the block is at eye height, then this value will be 1.
if the block is higher than eye height, this value will be 2.
Note: I don't remember what this was for.
-->
<requirement name="RequirementLookingAt, SCore" block="campfire, workstation" cvar="cvarFocusedBlock" />
<!-- True if the player is in the specific biome.
<requirement name="RequirementOnSpecificBiomeSDX, SCore" biome="pine_forest" />
<!-- true if the player (or the entity it's running on ) is the same as this faction. -->
<requirement name="RequirementSameFactionSDX, SCore" faction="animalsCows" />
<!-- If targeting another entity (such as one the player has just killed), add target="other" -->
<requirement name="RequirementSameFactionSDX, SCore" faction="animalsCows" target="other" />
Created with the Personal Edition of HelpNDoc: Maximize Your Documentation Capabilities with HelpNDoc's User-Friendly UI
Copyright © by . All Rights Reserved.
- Introduction
-
Features and Functionalities
- Core Features
- Default On Features
- Challenges
- Encumbrance
- Craft From Containers
- Player Features
- Zombie Features
- Advanced Locks
- Food Spoilage
- Blocks
- Buffs
-
MinEvents
- MinEventActionAddByFactionSDX
- MinEventActionAddScriptToTransform
- MinEventActionAdjustTransformValues
- MinEventActionAnimatorFireTriggerSDX
- MinEventActionAnimatorSpeedSDX
- MinEventActionAnimatorSetFloatSDX
- MinEventActionAnimatorSetIntSDX
- MinEventActionAttachPrefabWithAnimationsToEntity
- MinEventActionAutoRedeemChallenges
- MinEventActionChangeFactionSDX
- MinEventActionCheckWeapon
- MinEventActionClearOwner
- MinEventActionClearStaleHires
- MinEventActionConvertItem
- MinEventActionCreateItemSDX
- MinEventActionDespawnNPC
- MinEventActionExecuteConsoleCommand
- MinEventActionExecuteConsoleCommandCVars
- MinEventActionGiveQuestSDX
- MinEventActionGuardClear
- MinEventActionGuardHere
- MinEventActionGuardThere
- MinEventActionHideNPCSDX
- MinEventActionModifyFactionSDX
- MinEventActionModifyRelatedFactionsSDX
- MinEventActionModifySkillSDX
- MinEventActionNotifyTeamAttack
- MinEventActionNotifyTeamTeleport
- MinEventActionOpenWindow
- MinEventActionPlayerLevelSDX
- MinEventActionPumpQuestSDX
- MinEventActionTeleportToQuest
- MinEventActionRandomLootSDX
- MinEventActionRecalculateEncumbrance
- MinEventActionResetTargetsSDX
- MinEventActionSetCVar
- MinEventActionSetDateToCVar
- MinEventActionSetFactionRelationship
- MinEventActionSetOrder
- MinEventActionSetOwner
- MinEventActionSetRevengeTarget
- MinEventActionShowToolTipSDX
- MinEventActionSkillPointSDX
- MinEventActionSpawnBabySDX
- MinEventActionSpawnEntitySDX
- MinEventActionSpawnEntityAtPoint
- MinEventActionSwapWeapon
- MinEventActionTeamTeleportNow
- MinEventActionTeleport
- MinEventActionToggleCamera
- Factions
- NPCs
- Portals
- Release Notes and Version History