added machine item slots so ican start building gameplay
This commit is contained in:
156
WorldObjects/base/smelting_machine.torch
Normal file
156
WorldObjects/base/smelting_machine.torch
Normal file
@@ -0,0 +1,156 @@
|
||||
[orchestration type="OScript" load_steps=12 format=3 uid="uid://be46bc6046sub"]
|
||||
|
||||
[obj type="OScriptFunction" id="OScriptFunction_ge8hl"]
|
||||
guid = "890745DF-1A98-48D6-B8AC-DE6447427CF0"
|
||||
method = {
|
||||
"name": &"_on_iron_handler_cast_update"
|
||||
}
|
||||
id = 4
|
||||
|
||||
[obj type="OScriptFunction" id="OScriptFunction_hlbp6"]
|
||||
guid = "F7E42D92-C59C-4996-B4F0-A86892309736"
|
||||
method = {
|
||||
"name": &"_on_master_update_cast_update"
|
||||
}
|
||||
id = 5
|
||||
|
||||
[obj type="OScriptGraph" id="OScriptGraph_orolp"]
|
||||
graph_name = &"EventGraph"
|
||||
flags = 8
|
||||
nodes = Array[int]([4, 5, 6, 7, 8, 9])
|
||||
functions = Array[int]([4, 5])
|
||||
|
||||
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_6o2m5"]
|
||||
function_id = "890745DF-1A98-48D6-B8AC-DE6447427CF0"
|
||||
id = 4
|
||||
position = Vector2(240, 60)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"ExecOut",
|
||||
"dir": 1,
|
||||
"flags": 4
|
||||
}])
|
||||
|
||||
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_mhcgy"]
|
||||
function_id = "F7E42D92-C59C-4996-B4F0-A86892309736"
|
||||
id = 5
|
||||
position = Vector2(240, -160)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"ExecOut",
|
||||
"dir": 1,
|
||||
"flags": 4
|
||||
}])
|
||||
|
||||
[obj type="OScriptNodeSceneNode" id="OScriptNodeSceneNode_akcuh"]
|
||||
node_path = NodePath("Material")
|
||||
target_class_name = "Node3D"
|
||||
id = 6
|
||||
position = Vector2(240, 180)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"Material",
|
||||
"type": 24,
|
||||
"dir": 1,
|
||||
"flags": 2050,
|
||||
"target_class": "Node3D",
|
||||
"dv": null
|
||||
}])
|
||||
metadata/__base_node_relative = Object(Node3D,"unique_name_in_owner":false,"process_mode":0,"process_priority":0,"process_physics_priority":0,"process_thread_group":0,"physics_interpolation_mode":0,"auto_translate_mode":0,"editor_description":"","transform":Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0),"rotation_edit_mode":0,"rotation_order":2,"top_level":false,"visible":true,"visibility_parent":NodePath(""),"script":null)
|
||||
|
||||
|
||||
[obj type="OScriptNodeSceneNode" id="OScriptNodeSceneNode_mdtmd"]
|
||||
node_path = NodePath("Fuel")
|
||||
target_class_name = "Node3D"
|
||||
id = 7
|
||||
position = Vector2(240, 280)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"Fuel",
|
||||
"type": 24,
|
||||
"dir": 1,
|
||||
"flags": 2050,
|
||||
"target_class": "Node3D",
|
||||
"dv": null
|
||||
}])
|
||||
metadata/__base_node_relative = Object(Node3D,"unique_name_in_owner":false,"process_mode":0,"process_priority":0,"process_physics_priority":0,"process_thread_group":0,"physics_interpolation_mode":0,"auto_translate_mode":0,"editor_description":"","transform":Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0),"rotation_edit_mode":0,"rotation_order":2,"top_level":false,"visible":true,"visibility_parent":NodePath(""),"script":null)
|
||||
|
||||
|
||||
[obj type="OScriptNodePropertyGet" id="OScriptNodePropertyGet_xu0wa"]
|
||||
mode = 1
|
||||
target_class = &"Node3D"
|
||||
property_name = &"ItemID"
|
||||
property = {
|
||||
"name": &"ItemID",
|
||||
"type": 4,
|
||||
"class_name": &"",
|
||||
"hint": 0,
|
||||
"hint_string": "",
|
||||
"usage": 4096
|
||||
}
|
||||
id = 8
|
||||
size = Vector2(199, 66)
|
||||
position = Vector2(520, 180)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"target",
|
||||
"type": 24,
|
||||
"flags": 2050,
|
||||
"label": "Node3D",
|
||||
"target_class": "Node3D",
|
||||
"dv": null
|
||||
}, {
|
||||
"pin_name": &"ItemID",
|
||||
"type": 4,
|
||||
"dir": 1,
|
||||
"flags": 2,
|
||||
"usage": 4096
|
||||
}])
|
||||
|
||||
[obj type="OScriptNodePropertyGet" id="OScriptNodePropertyGet_884l8"]
|
||||
mode = 1
|
||||
target_class = &"Node3D"
|
||||
property_name = &"ItemID"
|
||||
property = {
|
||||
"name": &"ItemID",
|
||||
"type": 4,
|
||||
"class_name": &"",
|
||||
"hint": 0,
|
||||
"hint_string": "",
|
||||
"usage": 4096
|
||||
}
|
||||
id = 9
|
||||
size = Vector2(199, 66)
|
||||
position = Vector2(520, 280)
|
||||
pin_data = Array[Dictionary]([{
|
||||
"pin_name": &"target",
|
||||
"type": 24,
|
||||
"flags": 2050,
|
||||
"label": "Node3D",
|
||||
"target_class": "Node3D",
|
||||
"dv": null
|
||||
}, {
|
||||
"pin_name": &"ItemID",
|
||||
"type": 4,
|
||||
"dir": 1,
|
||||
"flags": 2,
|
||||
"usage": 4096
|
||||
}])
|
||||
|
||||
[obj type="OScriptVariable" id="OScriptVariable_m26ko"]
|
||||
name = "delayIron"
|
||||
category = "Default"
|
||||
classification = "type:int"
|
||||
type = 2
|
||||
default_value = 0
|
||||
|
||||
[obj type="OScriptVariable" id="OScriptVariable_d6djj"]
|
||||
name = "iron"
|
||||
category = "Default"
|
||||
classification = "type:String"
|
||||
type = 4
|
||||
default_value = "base:iron_ingot"
|
||||
|
||||
[resource]
|
||||
base_type = &"Node3D"
|
||||
brief_description = "Empty template suitable for all Objects"
|
||||
variables = Array[OScriptVariable]([SubResource("OScriptVariable_m26ko"), SubResource("OScriptVariable_d6djj")])
|
||||
functions = Array[OScriptFunction]([SubResource("OScriptFunction_ge8hl"), SubResource("OScriptFunction_hlbp6")])
|
||||
connections = Array[int]([6, 0, 8, 0, 7, 0, 9, 0])
|
||||
nodes = Array[OScriptNode]([SubResource("OScriptNodeEvent_6o2m5"), SubResource("OScriptNodeEvent_mhcgy"), SubResource("OScriptNodeSceneNode_akcuh"), SubResource("OScriptNodeSceneNode_mdtmd"), SubResource("OScriptNodePropertyGet_xu0wa"), SubResource("OScriptNodePropertyGet_884l8")])
|
||||
graphs = Array[OScriptGraph]([SubResource("OScriptGraph_orolp")])
|
||||
Reference in New Issue
Block a user