Start econ work
This commit is contained in:
parent
eb278643db
commit
a321dfc9fa
47 changed files with 252 additions and 0 deletions
8
currency/abstract/plague.tres
Normal file
8
currency/abstract/plague.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="AbstractCurrency" format=3 uid="uid://bwrs2rwum4n2k"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_cii7r"]
|
||||
[ext_resource type="Script" uid="uid://ucjmg8grkta8" path="res://currency/abstract_currency.gd" id="2_qihur"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_qihur")
|
||||
metadata/_custom_type_script = "uid://ucjmg8grkta8"
|
||||
8
currency/abstract/time.tres
Normal file
8
currency/abstract/time.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="AbstractCurrency" format=3 uid="uid://c78nahsxclmex"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_taqec"]
|
||||
[ext_resource type="Script" uid="uid://ucjmg8grkta8" path="res://currency/abstract_currency.gd" id="2_tg12d"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_tg12d")
|
||||
metadata/_custom_type_script = "uid://ucjmg8grkta8"
|
||||
2
currency/abstract_currency.gd
Normal file
2
currency/abstract_currency.gd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
extends Currency
|
||||
class_name AbstractCurrency
|
||||
1
currency/abstract_currency.gd.uid
Normal file
1
currency/abstract_currency.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://ucjmg8grkta8
|
||||
5
currency/currency.gd
Normal file
5
currency/currency.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Resource
|
||||
class_name Currency
|
||||
|
||||
@export var name: String
|
||||
@export var production: Array[Production]
|
||||
1
currency/currency.gd.uid
Normal file
1
currency/currency.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://b3tqa2kc2bu0p
|
||||
2
currency/currency_member.gd
Normal file
2
currency/currency_member.gd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
extends Resource
|
||||
class_name CurrencyMember
|
||||
1
currency/currency_member.gd.uid
Normal file
1
currency/currency_member.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bfti1i534lyko
|
||||
3
currency/currency_member_attribute.gd
Normal file
3
currency/currency_member_attribute.gd
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
extends Resource
|
||||
|
||||
@export var name: String
|
||||
1
currency/currency_member_attribute.gd.uid
Normal file
1
currency/currency_member_attribute.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://ckcoeuhmb6m2i
|
||||
8
currency/inanimate/beer.tres
Normal file
8
currency/inanimate/beer.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://crnhu4w6lfopb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_apagg"]
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_h7qij"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_h7qij")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
7
currency/inanimate/blood.tres
Normal file
7
currency/inanimate/blood.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://by3dayfdpobpt"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_6u8vm"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_6u8vm")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
8
currency/inanimate/bread.tres
Normal file
8
currency/inanimate/bread.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://ervsee7ku1i2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_btpsu"]
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_nt5od"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_nt5od")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
8
currency/inanimate/corpse.tres
Normal file
8
currency/inanimate/corpse.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://dmctedq3pav0t"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_6u3lm"]
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="2_aao11"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_aao11")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
7
currency/inanimate/gold.tres
Normal file
7
currency/inanimate/gold.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://bnlnq4ucsgfxe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_i8ogj"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_i8ogj")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
7
currency/inanimate/stone.tres
Normal file
7
currency/inanimate/stone.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://ytteqojj7k1o"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_r1hhf"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_r1hhf")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
7
currency/inanimate/water.tres
Normal file
7
currency/inanimate/water.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://b8b6yr444ecdk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_s2pc4"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_s2pc4")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
7
currency/inanimate/wood.tres
Normal file
7
currency/inanimate/wood.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="InanimateCurrency" format=3 uid="uid://b7vjuqkog7cxd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cthcf4w1il4h8" path="res://currency/inanimate_currency.gd" id="1_ilt41"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ilt41")
|
||||
metadata/_custom_type_script = "uid://b3tqa2kc2bu0p"
|
||||
2
currency/inanimate_currency.gd
Normal file
2
currency/inanimate_currency.gd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
extends Currency
|
||||
class_name InanimateCurrency
|
||||
1
currency/inanimate_currency.gd.uid
Normal file
1
currency/inanimate_currency.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cthcf4w1il4h8
|
||||
1
currency/members/human.gd
Normal file
1
currency/members/human.gd
Normal file
|
|
@ -0,0 +1 @@
|
|||
extends SentientCurrency
|
||||
1
currency/members/human.gd.uid
Normal file
1
currency/members/human.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dbsjwmpnv18aw
|
||||
11
currency/production.gd
Normal file
11
currency/production.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Resource
|
||||
class_name Production
|
||||
|
||||
enum Type {
|
||||
Produce,
|
||||
Consume,
|
||||
}
|
||||
|
||||
@export var type = Type.Produce
|
||||
@export var currency: Currency
|
||||
@export var amount: int
|
||||
1
currency/production.gd.uid
Normal file
1
currency/production.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dddyxbkq0ienn
|
||||
7
currency/sentient/archer.tres
Normal file
7
currency/sentient/archer.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://l8osuuxl7exe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_e7gnr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_e7gnr")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/calvary.tres
Normal file
7
currency/sentient/calvary.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dlxnbyiurne1s"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_o1w50"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_o1w50")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/chicken.tres
Normal file
7
currency/sentient/chicken.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dsohovjbf3s2p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_10o5k"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_10o5k")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/cow.tres
Normal file
7
currency/sentient/cow.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://b5qok0rcalr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_0c5xt"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0c5xt")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/dinosaur.tres
Normal file
7
currency/sentient/dinosaur.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://clx8tbrad4m7c"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_0dcki"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0dcki")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/doctor.tres
Normal file
7
currency/sentient/doctor.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://b1tgtujqs5lnr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_8u0th"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_8u0th")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
8
currency/sentient/drunk.tres
Normal file
8
currency/sentient/drunk.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dv834343s36af"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_b07i1"]
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="2_j265y"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_j265y")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/farmer.tres
Normal file
7
currency/sentient/farmer.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dn0c1pfq04obw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_kipvp"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_kipvp")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
8
currency/sentient/kings_guard.tres
Normal file
8
currency/sentient/kings_guard.tres
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://cwpk5e2exbgcr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dddyxbkq0ienn" path="res://currency/production.gd" id="1_f1fuf"]
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_y7sat"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_y7sat")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/lover.tres
Normal file
7
currency/sentient/lover.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://8uo3q8rn6qqr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_qvvhd"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_qvvhd")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/mercenary.tres
Normal file
7
currency/sentient/mercenary.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://sq2lrgnfjugj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_m8i4c"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_m8i4c")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/messenger.tres
Normal file
7
currency/sentient/messenger.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dq70tpr5osjkk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_egwdx"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_egwdx")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/miner.tres
Normal file
7
currency/sentient/miner.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dpaj2dk3qm7ow"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_phc4h"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_phc4h")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/pig.tres
Normal file
7
currency/sentient/pig.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://rdrcyvuvrp2m"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_g345f"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_g345f")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/royalty.tres
Normal file
7
currency/sentient/royalty.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dk3wsnr3ku7ka"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_jo5ux"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_jo5ux")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/spy.tres
Normal file
7
currency/sentient/spy.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://dfj4jwdmff6bu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_ou6ev"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ou6ev")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/town_crier.tres
Normal file
7
currency/sentient/town_crier.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://chsv8oeajty8j"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_an3bl"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_an3bl")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
7
currency/sentient/wizard.tres
Normal file
7
currency/sentient/wizard.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="SentientCurrency" format=3 uid="uid://6xylw7p78fvf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hcvynq5fjypj" path="res://currency/sentient_currency.gd" id="1_tds6s"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_tds6s")
|
||||
metadata/_custom_type_script = "uid://hcvynq5fjypj"
|
||||
2
currency/sentient_currency.gd
Normal file
2
currency/sentient_currency.gd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
extends Currency
|
||||
class_name SentientCurrency
|
||||
1
currency/sentient_currency.gd.uid
Normal file
1
currency/sentient_currency.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://hcvynq5fjypj
|
||||
6
economy.gd
Normal file
6
economy.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends Node
|
||||
|
||||
@export var currencies: Array[Production]
|
||||
|
||||
func simulate():
|
||||
pass
|
||||
1
economy.gd.uid
Normal file
1
economy.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://i14prh1jocdd
|
||||
6
economy.tscn
Normal file
6
economy.tscn
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[gd_scene format=3 uid="uid://dnpioqaes87yb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://i14prh1jocdd" path="res://economy.gd" id="1_csm0v"]
|
||||
|
||||
[node name="Economy" type="Node" unique_id=1950923383]
|
||||
script = ExtResource("1_csm0v")
|
||||
Loading…
Add table
Reference in a new issue