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:
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