Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Register
Advertisement
Constant: Wrapper

ModPsi
TypeConstant
GroupFlow Control
Return typeNumber Constant
Parameters
TargetNumber
ConstantNumber Constant
Technical details
Registry nameconstantWrapper

Constant: Wrapper is a Number Constant Spell Piece added by Psi. It is used to allow a Trick Spell Piece to operate on a variable while using a constant as the value to calculate Psi cost (in other words, the maximum the variable can be). Mathematically, it can be expressed as:

where is any number, and is the assigned constant.

It is unlocked in the lesson "Flow Control."

Parameters[]

  • Target: Requires a number. When using this Spell Piece this is commonly a variable.
  • Constant: Requires a number constant. It essentially sets the Psi cost of the spell and the maximum of the Target parameter.


"Psi"

"name" = ""Navbox Psi"" "state" = ""plain""


Advertisement