New items + base typing + price generation + new menu template
This commit is contained in:
parent
ff19560f0b
commit
50be4a0bb2
20 changed files with 408 additions and 37 deletions
12
items/energy_cell.tres
Normal file
12
items/energy_cell.tres
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=2 format=3 uid="uid://16xqvcrmuga6"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/item.gd" id="1_wdaj0"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_wdaj0")
|
||||
name = "Energy Cell"
|
||||
description = ""
|
||||
min_price = 1.0
|
||||
max_price = 20.0
|
||||
weight = 1.0
|
||||
type = 0
|
||||
12
items/food_supplies.tres
Normal file
12
items/food_supplies.tres
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=2 format=3 uid="uid://ca8cpmd1aluut"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/item.gd" id="1_gmqal"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_gmqal")
|
||||
name = "Food Supplies"
|
||||
description = ""
|
||||
min_price = 10.0
|
||||
max_price = 100.0
|
||||
weight = 10.0
|
||||
type = 0
|
||||
12
items/raw_materials.tres
Normal file
12
items/raw_materials.tres
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=2 format=3 uid="uid://dlnl6w416qylo"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/item.gd" id="1_l7wcw"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_l7wcw")
|
||||
name = "Raw Materials"
|
||||
description = ""
|
||||
min_price = 10.0
|
||||
max_price = 50.0
|
||||
weight = 5.0
|
||||
type = 0
|
||||
|
|
@ -10,7 +10,7 @@ name = "Test Item"
|
|||
description = "This is an debug item"
|
||||
min_price = 10.0
|
||||
max_price = 100.0
|
||||
stack_size = 5
|
||||
weight = 10.0
|
||||
icon = ExtResource("1_e5k7o")
|
||||
image = ExtResource("2_l1qse")
|
||||
type = 0
|
||||
|
|
|
|||
12
items/water_barrel.tres
Normal file
12
items/water_barrel.tres
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=2 format=3 uid="uid://b4jy8uknltolk"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/item.gd" id="1_w7v0g"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_w7v0g")
|
||||
name = "Water Barrel"
|
||||
description = ""
|
||||
min_price = 5.0
|
||||
max_price = 30.0
|
||||
weight = 10.0
|
||||
type = 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue