Difference between revisions of "Potion"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Added editor object)
 
imported>Qazaaq
(Added editor object)
Line 3: Line 3:
'''Papyrus:''' [[Potion Script]]
'''Papyrus:''' [[Potion Script]]


A potion is collection of [[Magic Effect]]s which are applied when consumed by an [[Actor]].
A potion is a collection of [[Magic Effect]]s which are applied when consumed by an [[Actor]].


== Editor Dialog ==
== Editor Dialog ==
[[File:Potion_Editor.png]]
[[File:Potion_Editor.png]]
* '''ID:''' The editor ID which is used by the Creation Kit.
* '''ID:''' The editor ID which is used by the Creation Kit.
*'''Name:''' The object's name as it will appear within menus and the game world.
*'''Desc:''' Used to provide a description in the inventory.
*'''Script:''' Depreciated, not used.
*'''Inventory Image:''' Depreciated, not used.
*'''Message Icon:''' Depreciated, not used.
*'''Model:''' The [[Model File]] that will be used.
*'''Add Destruction Data:'''
*'''Use Sound:''' The [[Sound Descriptor]] played when the item is used or consumed.
*'''Pickup Sound:''' The [[Sound Descriptor]] played when the object is picked up.
*'''Putdown Sound:''' The [[Sound Descriptor]] played when the object is dropped.
*'''Crafting Sound:''' The [[Sound Descriptor]] played when the object is crafted.
*'''Addiction:''' The [[Spell]] to apply when this potion has become addicting.
**'''Name:'''
**'''Chance:'''
*'''Equip Type:'''
*'''Preview Transform''': The [[Transform]] that is applied when this object's model is shown in the inventory menus.
*'''Weight:''' The weight of this object which represents how heavy it is.
*'''Results:'''
*'''Keywords:''' A list of [[Keyword|Keywords]] that signal information to other game systems.
*'''Flags'''
**'''Food Item:''' Food items must always be tagged as a ''Food Item''.
**'''Medicine:''' Aid items can be left untagged, or tagged ''Medicine''.
**'''Poison:''' Poison items can be left untagged, or tagged ''Poison''.


== Notes ==
== Notes ==
Line 14: Line 37:
== See Also ==
== See Also ==
*[[Magic Effect]]
*[[Magic Effect]]
*[[Actor]]
*[[Effect Item]]
*[[:Category:Magic|Magic Category]]
*[[:Category:Magic|Magic Category]]



Revision as of 07:11, 22 October 2017

Type: ALCH
Papyrus: Potion Script

A potion is a collection of Magic Effects which are applied when consumed by an Actor.

Editor Dialog

Potion Editor.png

  • ID: The editor ID which is used by the Creation Kit.
  • Name: The object's name as it will appear within menus and the game world.
  • Desc: Used to provide a description in the inventory.
  • Script: Depreciated, not used.
  • Inventory Image: Depreciated, not used.
  • Message Icon: Depreciated, not used.
  • Model: The Model File that will be used.
  • Add Destruction Data:
  • Use Sound: The Sound Descriptor played when the item is used or consumed.
  • Pickup Sound: The Sound Descriptor played when the object is picked up.
  • Putdown Sound: The Sound Descriptor played when the object is dropped.
  • Crafting Sound: The Sound Descriptor played when the object is crafted.
  • Addiction: The Spell to apply when this potion has become addicting.
    • Name:
    • Chance:
  • Equip Type:
  • Preview Transform: The Transform that is applied when this object's model is shown in the inventory menus.
  • Weight: The weight of this object which represents how heavy it is.
  • Results:
  • Keywords: A list of Keywords that signal information to other game systems.
  • Flags
    • Food Item: Food items must always be tagged as a Food Item.
    • Medicine: Aid items can be left untagged, or tagged Medicine.
    • Poison: Poison items can be left untagged, or tagged Poison.

Notes

None

See Also