[Mod] sleep able manipulateable exciting robot [samer]

Post Reply
User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

[Mod] sleep able manipulateable exciting robot [samer]

by Desour » Post

samer

Warning: Do not use this mod on an online server!

Image

Just place a samer node, rightclick it to open its formspec, look to the help page, write some code in lua and run it.

For all currently available functions look into the ingame help.

Example code:

Code: Select all

while true do
if not move(-1) then
while not move(0) do
move(1)
end
end
end
Licenses: Look into license.txt.

Depends:
default
screwdriver?

Download
github

What do you think about this?
Last edited by Desour on Fri Feb 04, 2022 16:59, edited 5 times in total.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Joseph16 » Post

What even is it? What does it do?
Testin' mines since 1989

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Chem871 » Post

It looks like a weird hybrid of a player model, bed and a chest. What does it do?
What is SCP-055?

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Desour » Post

Joseph13 wrote:What even is it? What does it do?
Chem871 wrote:It looks like a weird hybrid of a player model, bed and a chest. What does it do?
Read the title, it's a robot that can sleep.
@Chem871: Where do you see the bed? The samer uses the chest as storage, sam's legs are used to walk and sam's arm is used to interact.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
cx384
Member
Posts: 654
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] sleep able manipulateable exiting robot [samer]

by cx384 » Post

What do you need to craft such a robot?
1 chest, some steel , 4 feet and 1 hand.
That's cruel!
Can your read this?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] sleep able manipulateable exiting robot [samer]

by azekill_DIABLO » Post

This is a wicked mod. Reminds me the necromancy mod in minecraft.... It's... Original. Uhm.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Desour » Post

The robot is currently not craftable.
I made the model like this because these body parts also work for sam, so why shouldn't a robot be able to use them, too?

Update:
  • An entity is used.
  • An ingame help was added.
  • The samer is now animated.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Desour » Post

another update:
  • It's safe now. <- Edit: Nah, and probably not secure either.
  • The environment is now filled with many helpers.
  • Digging, getting nodes and moving is now possible forwards, up and down.
This mod can be tested now pretty well.
The only thing left to do is implementing functions to control the robot and fixing small things.
Last edited by Desour on Fri Feb 04, 2022 16:53, edited 1 time in total.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Joseph16 » Post

DS-minetest wrote:
Joseph13 wrote:What even is it? What does it do?
Chem871 wrote:It looks like a weird hybrid of a player model, bed and a chest. What does it do?
Read the title, it's a robot that can sleep.
@Chem871: Where do you see the bed? The samer uses the chest as storage, sam's legs are used to walk and sam's arm is used to interact.
A sleeping robot! GREAT just what I needed XD
Testin' mines since 1989

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Desour » Post

Joseph13 wrote:A sleeping robot! GREAT just what I needed XD
As paramat already wrote, irony isn't clear in the internet.
If it was no irony (which I hope for you):
What a luck for you that a mod that adds a robot that can sleep appears at the time when you need it.
Else:
If you don't know what sleeping means in this context, sleeping is the pause, the robot takes while executing its code. When it wakes up again, it will continue executing at the point where it stopped.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] sleep able manipulateable exiting robot [samer]

by azekill_DIABLO » Post

actually seeing the arm of sam (sam-er i understood the thing) attached to a four leg thing like that xD
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Wuzzy
Member
Posts: 4804
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Mod] sleep able manipulateable exiting robot [samer]

by Wuzzy » Post

Sigh.

For the love of god, please tell us at least what this thing does and what it is for (in the first post). And no, the “title” doesn't help me at all.

Why don't modders write basic and understandable descriptions anymore? :-(

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] sleep able manipulateable exiting robot [samer]

by azekill_DIABLO » Post

looks like a besic_robot mob that sleeps. No. Okay, help me, this always too wtf.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
cx384
Member
Posts: 654
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] sleep able manipulateable exiting robot [samer]

by cx384 » Post

Wuzzy wrote:... And no, the “title” doesn't help me at all.

Why don't modders write basic and understandable descriptions anymore? :-(
In my opinion, it's obvious what the mod does.
It adds a robot called "samer" (probably because it should simulate a player) which can be programed like the basic robot. In addition, the robot can be manipulated, sleep and exit (whatever that means).
Nevertheless, there is a description on github.
Can your read this?

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] sleep able manipulateable exciting robot [samer]

by Desour » Post

cx384 wrote:exit (whatever that means)
Oops, I forgot the c, it's exciting.
cx384 wrote:It adds a robot called "samer" (probably because it should simulate a player)
I'm not good at giving names. I called it "samer" because it uses Sam's body parts the same way as Sam does. But I needed a reason to make the s small.
cx384 wrote:which can be programed like the basic robot
basic_robot is different. The samer calls its code only once until it ends (eg. via a return), basic_robot calls its code every second and needs a source node, …

Actually I thought, it would be obvious how to use the samer when you use it. Just place a samer node, rightclick it to open its formspec, look to the help page, write some code in lua and run it. I'll add the last sentence to the first post.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests