Ignore the warp.
Feel free to use because part of it was from beholder… I think.
–Rate Please–
0-10
Ignore the warp.
Feel free to use because part of it was from beholder… I think.
–Rate Please–
0-10
depends, are we rating what u made or what others made’?
Rate the horse buying part and the sell part and/or the whole level. You decide but tell me which part your rating.
You can shorten it and fix it a bit by changing this to…
if (playerchats) {
if(playerrupees >= 10) {
if (strequals(#c,/brown horse)) {
puthorse ride.png,32,43;
playerrupees -= 5;
}
}
}
if (playerchats) {
if(playerrupees >= 10) {
if (strequals(#c,/green horse)) {
puthorse ride2.png,32,43;
playerrupees -= 5;
}
}
}
if (playerchats) {
if(playerrupees >= 10) {
if (strequals(#c,/yellow horse)) {
puthorse ride3.png,32,43;
playerrupees -= 5;
}
}
}
this…
if (playerchats) {
if (strequals(#c,/brown horse)) {
if(playerrupees >= 10) {
puthorse ride.png,32,43;
playerrupees -= 5;
}
}
if (strequals(#c,[b]/another[/b] horse)) {
if(playerrupees >= 10) {
puthorse [b]ride.png[/b],32,43;
playerrupees -= 5;
}
}
if (strequals(#c,[b]/another111[/b] horse)) {
if(playerrupees >= 10) {
puthorse [b]ride.png[/b],32,43;
playerrupees -= 5;
}
}
}
Just change the stuff I bolded to what it was in your script. Good start though chief.
It’s ok for a start. I’d recommend using smaller rooms, it’ll take much less time to make them and detail. You should also try to center the room at (32,32). From there it’s just experimenting with the tiles to come up with better detail.
The level doesn’t look anything like a stable though… I threw together a couple horse npc’s for you to start with.
I doubt you can script it yet, but if you used functions you could make the green horse do all kinds of stuff. (The brown one is too sloppy.) Maybe make an enclosure where the horses choose between drinking, eating bushes, or idling in the pen by using functions.
Not bad for being new at this. I agree with VariousWeapon, though. Use smaller rooms, and center the level.
Thanks for the tip guys!!!
EVEN MORE SHORTERERERERRER
if (playerchats) {
tokenize #c;
if(strequals(#t(1),horse)&&playerrupees >= 10) {
if(strequals(#t(0),/brown)||strequals(#t(0),/green)||strequals(#t(0),/yellow)){
playerrupees -= 5;
if(strequals(#t(0),/brown)) puthorse ride.png,32,43;
if(strequals(#t(0),/green)) puthorse ride2.png,32,43;
if(strequals(#t(0),/yellow)) puthorse ride3.png,32,43;
}
}
}
Merged doublepost_______________
Could be further shortened by using inindex or instr or whatever graal uses to check for string in place of the ||, or if you wanted to give horses free can remove the check and the playerruppes part and smaller ![]()