Command-line interface

Out-of-character discussion forum for players of Cantr II to discuss new ideas for the development of the Cantr II game.

Moderators: Public Relations Department, Players Department, Programming Department, Game Mechanics (RD)

User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Command-line interface

Postby joo » Tue Apr 15, 2008 5:09 pm

I suggest that there is a field on all character pages into which commands can be typed of the nature:

Code: Select all

take {quantity} {resource}

e.g. "take 500 raw meat" or "take :all: limestone"

Code: Select all

remove {quantity} {resource} from {storage} {number}

e.g. "remove 350 potatoes from barrel 3" or "take :all: sand from small silo 1"

Code: Select all

store {quantity} {resource} in {storage} {number}

e.g. "store 900 cooked meat in barrel 1" or "store :all: soda in container 2"

Code: Select all

take {object}

e.g. "take earthenware flowerpot" or "take brand new bone knife". Item decay is optional.

Code: Select all

drop {quantity} {resource}

e.g. "drop 100 shell" or "drop :all: iron ore"

Code: Select all

drop {object}

e.g. "drop fishing pole" or "drop crumbling hemp paintbrush". Item decay is optional.

Code: Select all

give {quantity} {resource} to {person}

e.g. "give 15000 baked beans to Harold Redding" or "give :all: window glass to Christine". Person must have a unique name.

Code: Select all

enter {vehicle_building_room_name}

e.g. "enter Xoxiskop Storehouse" or "enter unnamed location". Can be used to enter a room or leave the current location.

Code: Select all

enter# {building_number}

e.g. "enter# 3"

Code: Select all

use {quantity} {resource} on {project}

e.g. "use :all: dried dung on drying dung"

Code: Select all

attack {person}

e.g. "attack thief01". Attack someone with best weapon and 100% strength.

This will require a bit of string processing on the server's part, but that will be made up for by the lack of requested pages.
Last edited by joo on Tue Apr 15, 2008 5:18 pm, edited 2 times in total.
User avatar
Jos Elkink
Founder Emeritus
Posts: 5711
Joined: Mon Jul 14, 2003 1:17 pm
Location: Dublin, Ireland
Contact:

Postby Jos Elkink » Tue Apr 15, 2008 5:11 pm

To implement this now, retrospectively, seems a little too much work for too little benefit ... but if I ever create a new game, this would be my starting point :) ... (which I won't, though, probably, but if ...)
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Postby SekoETC » Tue Apr 15, 2008 5:44 pm

Besides, I already suggested this in some other topic.
Not-so-sad panda

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest