RadiationAPI
Index
Variables
effectDuration
Type declaration
consthazmatArmor
Type declaration
constradioactiveItems
Type declaration
sources
Functions
addEffect
Parameters
ent: number
duration: number
Returns void
addEffectInRange
Parameters
region: WorldRegion
x: number
y: number
z: number
radius: number
duration: number
Returns void
addRadiation
Parameters
playerUid: number
duration: number
Returns void
addRadiationSource
Parameters
x: number
y: number
z: number
dimension: number
radius: number
duration: number
Returns void
emitItemRadiation
Parameters
entity: number
itemID: number
Returns boolean
getRadiation
Parameters
playerUid: number
Returns number
getRadioactivity
Parameters
itemID: number
Returns { duration: number; stack: number }
duration: number
stack: number
hasHazmatSuit
Parameters
playerUid: number
Returns boolean
isHazmatArmor
Parameters
itemID: number
Returns boolean
isRadioactiveItem
Parameters
itemID: number
Returns boolean
registerHazmatArmor
Parameters
itemID: number
Returns void
setRadiation
Parameters
playerUid: number
duration: number
Returns void
setRadioactivity
Parameters
itemID: number
duration: number
optionalstack: boolean
Returns void