mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Merge branch 'main' of https://github.com/PfandBoss/SemesterGameJam2022
This commit is contained in:
@@ -10,6 +10,11 @@ config_version=5
|
||||
|
||||
_global_script_classes=[{
|
||||
"base": "Module",
|
||||
"class": &"Bin",
|
||||
"language": &"GDScript",
|
||||
"path": "res://scripts/Modules/Bin.gd"
|
||||
}, {
|
||||
"base": "Module",
|
||||
"class": &"Cannon",
|
||||
"language": &"GDScript",
|
||||
"path": "res://scripts/Modules/Cannon.gd"
|
||||
@@ -55,6 +60,7 @@ _global_script_classes=[{
|
||||
"path": "res://scripts/Logic/TurnMapNode.gd"
|
||||
}]
|
||||
_global_script_class_icons={
|
||||
"Bin": "",
|
||||
"Cannon": "",
|
||||
"Game": "",
|
||||
"MapNode": "",
|
||||
|
||||
9
scripts/Modules/Bin.gd
Normal file
9
scripts/Modules/Bin.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Module
|
||||
|
||||
class_name Bin
|
||||
|
||||
@onready var train = get_parent() as Train
|
||||
|
||||
#------------Methods-------------#
|
||||
func interact():
|
||||
train.get_node("CharacterBody3D").inventory = 0
|
||||
Reference in New Issue
Block a user