Jump to content

Herb Cleaning


PlagueDoctor

Recommended Posts

just because your version is more simplistic, it doesn't necessarily mean it's better. doge.png

the checks are also objective, you pronounce it tomato, i pronounce it tomatoe, etc

i'd rather not spam the player's game chat with "you do not have enough inventory space for that".

 

When a shorter piece of code does the same thing, I think you should prefer it. In any case, his solution is objectively better, if only by a small margin -

 

Withdraw n:

1) first iteration - set x to n.

2) all subsequent iterations, less final iteration, withdraw n.

3) final iteration - set n to m, withdraw m.

 

Withdraw all:

1) all iterations - withdraw all

 

 

 

xp wayste ur losin tix bro

 

wut fukery is dis thred gnome.png

 

Edit: Since I'm a faggot who loves to show off:

 

http://imgur.com/3PjIDjS

 

Write yourself a package which handles common inventory and banking interactions and it will serve you well in virtually every script that you write.

Edited by Solzhenitsyn
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...