Delete mods/comments.js

This commit is contained in:
DKopalXYZ 2025-06-29 00:25:28 +02:00 committed by GitHub
parent 9f66432b2f
commit b62fe32b8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 37 deletions

View File

@ -1,37 +0,0 @@
let comment = ""
dependOn(
"debris.js",
() => {
elements.comment = {
color: "#222222",
state: "solid",
onSelect: () => {
promptInput("Enter the comment text",
(result) => {
if (result) {
comment = result
}
},
"comments.js is asking you...",
"")
},
tick: (pixel) => {
if (pixel.start == pixelTicks) {
pixel.text = comment
pixel.cid = debris({
type: "text",
text: pixel.text,
color: "#fff",
size: 14,
x: pixel.x,
y: pixel.y
})
}
},
onDelete: (pixel) => {
removeDebris(pixel.cid)
}
}
},
true
)