mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Implemented vending machine
This commit is contained in:
parent
d78daf4e18
commit
e5ffb0cf94
32 changed files with 3074 additions and 1992 deletions
|
|
@ -1,9 +1,10 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://bmfarpfcbbfa5"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" format=3 uid="uid://bmfarpfcbbfa5"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_2x8yp"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb2pjblwkb7ub" path="res://3D/Scenes/Props/Vending_Machine_3D.tscn" id="2_2x8yp"]
|
||||
[ext_resource type="Script" uid="uid://d1nwwgcrner8b" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class_display_descriptor.gd" id="2_8x313"]
|
||||
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_2x8yp"]
|
||||
[ext_resource type="Resource" uid="uid://dwc3j47cgj78j" path="res://3D/TrenchBroom/EntityDefinitions/base/requirement_key_base.tres" id="4_req"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_2x8yp")
|
||||
|
|
@ -13,7 +14,15 @@ scene_file = ExtResource("2_2x8yp")
|
|||
apply_scale_on_map_build = false
|
||||
classname = "actor_vendingmachine"
|
||||
description = "Vending Machine"
|
||||
base_classes = Array[Resource]([ExtResource("1_2x8yp")])
|
||||
base_classes = Array[Resource]([ExtResource("1_2x8yp"), ExtResource("4_req")])
|
||||
class_properties = Dictionary[String, Variant]({
|
||||
"shop_definition_path": "",
|
||||
"shop_ui_scene_path": ""
|
||||
})
|
||||
class_property_descriptions = Dictionary[String, Variant]({
|
||||
"shop_definition_path": "Optional resource path or uid:// for a VendingShopDefinition. Leave blank to use the scene default.",
|
||||
"shop_ui_scene_path": "Optional packed scene path or uid:// for the shop UI. Leave blank to use the scene default."
|
||||
})
|
||||
meta_properties = Dictionary[String, Variant]({
|
||||
"model": "{\"path\": \"3D/MapModels/actor_vendingmachine.glb\", \"scale\": 16.0 }",
|
||||
"size": AABB(-8, -8, -12, 8, 8, 12)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue