Tuesday, 19 August 2025 01:37:27
This commit is contained in:
10
Gameplay/Tchotchkes/AwfullyHotCoffeePot.cs
Normal file
10
Gameplay/Tchotchkes/AwfullyHotCoffeePot.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class AwfullyHotCoffeePot : Tchotchke
|
||||
{
|
||||
public AwfullyHotCoffeePot() : base()
|
||||
{
|
||||
_effects.Add(new Caffeinate(this));
|
||||
}
|
||||
}
|
||||
1
Gameplay/Tchotchkes/AwfullyHotCoffeePot.cs.uid
Normal file
1
Gameplay/Tchotchkes/AwfullyHotCoffeePot.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cs41fy2tdmox8
|
||||
7
Gameplay/Tchotchkes/RedStapler.cs
Normal file
7
Gameplay/Tchotchkes/RedStapler.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class RedStapler : Tchotchke
|
||||
{
|
||||
|
||||
}
|
||||
1
Gameplay/Tchotchkes/RedStapler.cs.uid
Normal file
1
Gameplay/Tchotchkes/RedStapler.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://suk6jbpwmu1r
|
||||
36
Gameplay/Tchotchkes/awfully_hot_coffee_pot.tscn
Normal file
36
Gameplay/Tchotchkes/awfully_hot_coffee_pot.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cbmpor83jpggo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cs41fy2tdmox8" path="res://Gameplay/Tchotchkes/AwfullyHotCoffeePot.cs" id="2_mvvpy"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1tv50tj5cprl" path="res://art/coffee.png" id="3_r4u41"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_smj0g"]
|
||||
radius = 32.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_yxdnl"]
|
||||
radius = 32.0
|
||||
|
||||
[node name="AwfullyHotCoffeePot" type="StaticBody2D"]
|
||||
input_pickable = true
|
||||
script = ExtResource("2_mvvpy")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.1, 0.1)
|
||||
texture = ExtResource("3_r4u41")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_smj0g")
|
||||
|
||||
[node name="Gravity" type="Area2D" parent="."]
|
||||
gravity_space_override = 1
|
||||
gravity_point = true
|
||||
gravity_point_unit_distance = 32.0
|
||||
gravity_point_center = Vector2(0, 0)
|
||||
gravity_direction = Vector2(0, 0)
|
||||
gravity = 5.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Gravity"]
|
||||
shape = SubResource("CircleShape2D_yxdnl")
|
||||
|
||||
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|
||||
[connection signal="body_entered" from="Gravity" to="." method="OnBodyEntered"]
|
||||
35
Gameplay/Tchotchkes/red_stapler.tscn
Normal file
35
Gameplay/Tchotchkes/red_stapler.tscn
Normal file
@@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bjml4u7mieb3a"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://suk6jbpwmu1r" path="res://Gameplay/Tchotchkes/RedStapler.cs" id="2_1dddf"]
|
||||
[ext_resource type="Texture2D" uid="uid://d332fv8lhg8na" path="res://art/redstapler.png" id="2_rllbf"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1dddf"]
|
||||
radius = 29.0
|
||||
height = 94.0
|
||||
|
||||
[node name="RedStapler" type="StaticBody2D"]
|
||||
input_pickable = true
|
||||
script = ExtResource("2_1dddf")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
rotation = -1.0472
|
||||
scale = Vector2(0.1, 0.1)
|
||||
texture = ExtResource("2_rllbf")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CapsuleShape2D_1dddf")
|
||||
|
||||
[node name="Gravity" type="Area2D" parent="."]
|
||||
gravity_space_override = 1
|
||||
gravity_point = true
|
||||
gravity_point_unit_distance = 32.0
|
||||
gravity_point_center = Vector2(0, 0)
|
||||
gravity_direction = Vector2(0, 0)
|
||||
gravity = 5.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Gravity"]
|
||||
shape = SubResource("CapsuleShape2D_1dddf")
|
||||
|
||||
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|
||||
[connection signal="body_entered" from="Gravity" to="." method="OnBodyEntered"]
|
||||
Reference in New Issue
Block a user