Commit Graph

729 Commits

Author SHA1 Message Date
O-01-67 1828b00367
rest of the tools 2022-10-04 20:00:47 -04:00
O-01-67 d0a8353cb9
room_temp supersedes warm 2022-10-04 19:14:28 -04:00
O-01-67 6082ee13db
ren daoe to delete_all_of_element 2022-10-04 19:02:16 -04:00
O-01-67 22f782deba
start
only lookup rn
2022-10-04 17:04:33 -04:00
O-01-67 def65ab457
made variables more spout-specific 2022-10-04 14:08:52 -04:00
O-01-67 d76dcb23cf
physprops 2022-10-04 14:08:26 -04:00
O-01-67 0d4b628ac7
exclude spout from dissolving 2022-10-04 14:06:14 -04:00
O-01-67 69c1200d90
alkahest
dissolves everything and stores it (it does dissolve it without alteration, but good luck doing anything with that)
2022-10-04 14:00:14 -04:00
O-01-67 7b264f57fa
reapply changes? 2022-10-04 11:31:10 -04:00
O-01-67 f363a6c396
niobium 2022-10-04 10:23:59 -04:00
O-01-67 932e6d2e68
Event can now spawn 1-3 creepers 2022-10-04 10:14:36 -04:00
O-01-67 72fa413db2
Random creeper placer + spawn function
* Tool that places random creepers (and its generated creeper that spawns random creepers)
* Standalone spawn function
2022-10-04 10:09:21 -04:00
O-01-67 368391b3cf
space behavior pad to %0 pad 2022-10-03 15:37:15 -04:00
O-01-67 de411b4c0c
fix typoes 2022-10-03 15:33:28 -04:00
O-01-67 74cdff270b
fix behavior typo 2022-10-03 15:32:35 -04:00
O-01-67 cd60d57462
Auto creeper generation
Include creeperIncludeRandom query param to include generated creepers in randomChoices
2022-10-03 15:28:33 -04:00
O-01-67 67f8c171d7
Settings now updates properly 2022-10-02 15:26:59 -04:00
O-01-67 dd30ae2d33
Made spawning a setting, toggle in element desc 2022-10-02 15:09:48 -04:00
O-01-67 7586959bff
Hell Creeper
makes fire
2022-10-02 14:12:08 -04:00
O-01-67 0122159cbc
ECT Bombing Creeper
originally spawned 5 tnt
now it spawns 50% dynamite
close enough
2022-10-02 12:57:59 -04:00
O-01-67 8bef5dcbc8
Added AC feather drop 2022-10-02 12:40:42 -04:00
O-01-67 6542568f0c
Angelic Creepers
from Extra Creeper Types

these were a bit painful to code
2022-10-02 12:35:07 -04:00
O-01-67 ea2780573c
HSL color change support
lol
2022-10-02 00:44:42 -04:00
O-01-67 c349fc229d
Color functions
* Charged creepers
* They turn brighter and bluer
* Hissing creepers turn whiter
* Color changes currently disabled for HSL
2022-10-02 00:11:28 -04:00
O-01-67 b2d850dcd5
Adds creepers to Sandboxels
heavy edit of humans
* look for humans and move more towards them
* explode after 30 ticks after having been within a certain distance (idk how to add cancellation)
* charged creepers
2022-10-01 23:25:34 -04:00
O-01-67 0f94ad612a
Added prompt to set scale 2022-10-01 16:52:24 -04:00
O-01-67 ea1c90717a
more tests 2022-09-30 22:30:50 -04:00
O-01-67 83bb75f23b
fix typo in behavior template 2022-09-30 17:25:49 -04:00
O-01-67 4e8fe1b700
Added adjuster, fixed bugs
* Fixed unreplaced references to another tool mod's binds in the element description
* Fixed an incorrect function in an onClick in prop's element description
* Prop now tries to use element temp attributes when setting elements, otherwise keeping the existing temp
* Number adjuster tool
    - Specify property, value, and mode (set or add)
    - Only for number-type properties
2022-09-30 12:29:16 -04:00
O-01-67 f11287ed9c
Range can now be changed by means such as prop.js 2022-09-30 11:40:18 -04:00
O-01-67 ad6e2ea8fc
Made lithification chance changeable
0.0003 is still the default
2022-09-16 21:45:18 -04:00
O-01-67 a61d3f857b
Made several tick()s into more general functions
Specifically, the sedimentation for sediments and the replacement code for super_(de)irradiator and irradium.
This will help with crimsandstone.
2022-09-16 21:43:39 -04:00
O-01-67 e3da09dceb
merge structure_test_2 2022-09-15 13:14:47 -04:00
O-01-67 ac9bf63c7e
merge into structure_test 2022-09-15 13:14:30 -04:00
O-01-67 90efdd0a2b
Applied revamp to petrotheum and aerotheum
+ Aerotheum finally does something
2022-09-15 12:39:21 -04:00
O-01-67 af0c33c5bb
cryotheum and pyrotheum revamp 2022-09-15 11:58:52 -04:00
O-01-67 521b96b31a
fix crash at edges
and add cooldown
2022-09-15 10:08:00 -04:00
O-01-67 332ed0bb8a
fix texts 2022-09-14 16:33:16 -04:00
O-01-67 1b7f2d1004
new test
ass
2022-09-14 14:44:56 -04:00
O-01-67 74b0a1abd1
Prop tool that might not work
my eyes fucking glazed over coding this
2022-09-14 14:37:03 -04:00
O-01-67 6af6ea0887
add defaults and synonyms 2022-09-14 14:35:49 -04:00
O-01-67 9df619958d
apply changes to void_first 2022-09-14 13:51:49 -04:00
O-01-67 bc221baf65
edit converter
now no longer stores unnecessary dcN's
2022-09-14 13:47:08 -04:00
O-01-67 345df9429b
velocity.js support for set
added vx and vy as properties with default number types, so a type argument isn't required
2022-09-14 12:47:36 -04:00
O-01-67 01657f59dd
Nerf osmium 2022-09-14 12:45:14 -04:00
slweeb a17c6369d0 Update velocity.js 2022-09-13 18:35:34 -04:00
slweeb 61caddc895 Update velocity.js 2022-09-13 18:18:37 -04:00
slweeb abbc486d29 Update velocity.js 2022-09-13 18:13:00 -04:00
slweeb 3b6dd97f05 Merge branch 'main' of https://github.com/slweeb/sandboxels 2022-09-13 18:11:24 -04:00
slweeb a86f6ba344 Create velocity.js 2022-09-13 18:11:22 -04:00
O-01-67 8dd4ee53f8
buffed spouts
added movable to criteria
2022-09-12 12:57:04 -04:00
O-01-67 f11a06cc30
tweak idk 2022-09-12 12:56:07 -04:00
O-01-67 e658ac0c73
update viscosities, add vodka 2022-09-12 12:47:17 -04:00
O-01-67 1142470c86
fix bug in substitution table 2022-09-11 15:43:52 -04:00
O-01-67 0579beb31f
tweak sandstone
also update todo
2022-09-09 22:40:48 -04:00
O-01-67 e042d87dcb
edit references to merged mod 2022-09-08 14:15:53 -04:00
O-01-67 d4006b6720
delete merged mod
merged into the_ground
2022-09-08 14:15:13 -04:00
O-01-67 43b8c43863
Revamp spread function
uses a table like irradiated ground
pending revamp into land cult and possible merge with the_ground.js
2022-09-08 14:14:48 -04:00
O-01-67 82e30b62b7
Merge more_worlds.js with the_ground.js
pending rename if possibly merged with crimson.js
2022-09-08 14:13:51 -04:00
O-01-67 d5be723fe6
Alert toggles for errors and non-error outputs
e.g. for running many commands through console and not wanting alert()s
2022-09-08 13:34:11 -04:00
O-01-67 03d32a8f5b
Added argument support for funniPrompt()
-- as in, you can pass a command string as a string and have that be the input; running  
> `funniPrompt("countall")`  
is the same as running `funniPrompt()` and then entering `countall`.  

Tested with  
> funniPrompt("set element wall brick")  
> funniPrompt("set amogussussy all water string")  
> funniPrompt("nonexistyasdf")  
> funniPrompt("countall")
2022-09-08 12:58:36 -04:00
O-01-67 6a4cf5a6e7
test (mod order?) 2022-09-04 16:57:07 -04:00
O-01-67 5af7863653
test (mod order?) 2022-09-04 16:56:53 -04:00
O-01-67 9c28fc0af7
test? 2022-09-04 16:54:43 -04:00
O-01-67 7caf16310a
Add files via upload 2022-09-04 16:49:30 -04:00
O-01-67 623656ecc6
Simple thing that eats nickel and reproduces 2022-09-04 16:31:14 -04:00
O-01-67 968f9965d3
breakInto fix 2022-09-04 09:41:00 -04:00
O-01-67 7a93277b11
more_worlds compat 2022-09-04 09:40:21 -04:00
O-01-67 2c2685ce6d
Irradiation table updates 2022-09-03 13:43:13 -04:00
O-01-67 d347343006
desert tweaks 2022-09-03 12:13:50 -04:00
O-01-67 c2bb36ce2f
ID tweaks 2022-09-03 12:12:39 -04:00
O-01-67 6b95bf5842
category fix 2022-09-03 12:08:21 -04:00
O-01-67 cb4cc53e4f
same state bugfix + irr_sandstone behavior fix 2022-09-03 12:07:11 -04:00
O-01-67 3b8326fab1
minor state bugfix 2022-09-03 12:06:08 -04:00
O-01-67 63a45557cf
fixed long-standing bug, revamped petrotheum 2022-09-02 15:40:47 -04:00
O-01-67 388238ead8
critical includeRandom bugfix 2022-09-02 14:32:29 -04:00
O-01-67 845b2db9ff
Update other reference to merged mod 2022-09-02 14:20:34 -04:00
O-01-67 03cfacb4cb
Update reference to merged mod 2022-09-02 14:19:56 -04:00
O-01-67 26a5241e29
Merged 4 mods to the_ground.js
Contains the contents of
	gems.js
	dry_dirt.js
	sandstone.js
	igneous_rocks.js
2022-09-02 14:19:02 -04:00
O-01-67 eccb26346a
Delete 4 mods to merge (4) 2022-09-02 14:17:33 -04:00
O-01-67 5642e85bdf
Delete 4 mods to merge (3) 2022-09-02 14:17:24 -04:00
O-01-67 15b22a69e3
Delete 4 mods to merge (2) 2022-09-02 14:17:13 -04:00
O-01-67 e89090820c
Delete separate files to merge 4 mods into the_ground.js (1) 2022-09-02 14:14:50 -04:00
O-01-67 4c63614566
fix bug + help command 2022-09-02 12:54:13 -04:00
O-01-67 b1c4b513dd
fix errors at upper edge of screen 2022-09-02 12:05:35 -04:00
O-01-67 74829be34f
fix count 2022-09-02 11:45:53 -04:00
O-01-67 a6ef8452c8
Mod with state-specific voids
drain removes liquids, vent removes gases, chute removes solids...
2022-09-02 10:32:23 -04:00
O-01-67 e3757c806d
updates i think 2022-09-02 09:23:04 -04:00
O-01-67 36498269a3
forgor 2022-09-02 09:22:39 -04:00
O-01-67 97db25310a
add mithril and lithium + laetium special property 2022-09-02 08:57:42 -04:00
O-01-67 fbea760827
forgor💀 2022-09-02 08:57:06 -04:00
O-01-67 839eabd766
Merge lithium into metals.js (2) 2022-09-02 08:44:15 -04:00
O-01-67 acb2f98a25
Merge lithium.js into metals.js (1) 2022-09-02 08:41:40 -04:00
O-01-67 bd54a803c3
rm deadname 2022-09-01 15:45:05 -04:00
O-01-67 724e7f9de2
forgor what i did 2022-09-01 14:50:10 -04:00
O-01-67 74bbffdab2
Exclude certain spouts from random anyway
that is, if their corresponding element is already excluded from random (*cough* supernova)
2022-09-01 13:25:46 -04:00
O-01-67 8607d8d72d
Language tweaks
for a more family-friendly github, or as close as we can get given that cum mod exists
2022-09-01 13:06:36 -04:00
O-01-67 5f7fe007b3
New command: countall
* Takes no arguments
* Logs to console a list of elements present and their amounts (pixels)

Example output:
> emerald: 675
> diamond: 2031
> gold_coin: 2026
> amethyst: 461
> sapphire: 426
> ruby: 457
> pearl: 268
> onyx: 348
> cumin: 418
2022-09-01 13:05:53 -04:00
O-01-67 9a1f8c2010
"set color" *actually* allows HSL 2022-09-01 12:50:12 -04:00
O-01-67 367ef18381
"set color" allows HSL
hsl(a,b,c)
2022-09-01 12:35:23 -04:00
O-01-67 af09a65b38
Add count command
counts how many pxs of an element exist and alert()s the result
2022-09-01 11:51:02 -04:00
O-01-67 db94ebb826
Money world with gems.js
valuable gems and gold
requires gems.js
2022-09-01 11:50:02 -04:00
O-01-67 d4c6f56b53
i coded for so long i forgor 💀 what exactly i did 2022-08-31 16:44:25 -04:00
O-01-67 55b0535f72
Categorized
to an "Irradiated" category
2022-08-31 12:59:26 -04:00
O-01-67 6c0cd03257
fix rad-dirt melting 2022-08-31 12:56:45 -04:00
O-01-67 fa73c2f56c
Inter-mod compatibility: Irradiated basalt gravel
some_tf_liquids.js (due to petrotheum) adds basalt gravel
2022-08-31 12:45:13 -04:00
O-01-67 487b84b00c
Add ice and radiation worlds
so... much... land...
2022-08-31 12:39:11 -04:00
O-01-67 4c33a27cb6
more worlds
starting with a TNT world
2022-08-30 20:46:15 -04:00
O-01-67 3fe735ea24
desert changes 2022-08-30 20:23:34 -04:00
O-01-67 ff526bc65a
Added sandstone mod
A sedimentary rock. Most of this code handles the sedimentation and cementation* process. This sucked. Balancing sucked more. But it is done.

*No compaction due to lack of weight or any means for pixels to detect when another pixel tries to move into them.
2022-08-30 16:35:02 -04:00
O-01-67 bc8c251327
Adds a weird liquid i guess
i wanted everboiling water but i didn't want to make its reactions
so i made roseyiede instead
2022-08-30 13:25:30 -04:00
O-01-67 98eb31104a
comp@ patch for dry_dirt
with certain mod orders
2022-08-26 15:27:18 -04:00
O-01-67 268133bc1a
removal 2022-08-26 15:26:41 -04:00
O-01-67 38860ab2be
dry dirt
makes dirt dry at 110
2022-08-26 15:25:03 -04:00
lllllllllwith10ls 0a18e4bef5 fluorine doesn't burn solid oxygen 2022-08-03 14:10:30 -05:00
lllllllllwith10ls 41d0800e89 solid fluorine is now immune to itself 2022-08-03 14:04:25 -05:00
lllllllllwith10ls 8ac193ed72 Fluorine and co work properly now 2022-08-03 13:40:53 -05:00
lllllllllwith10ls 9b6e2d56e7 Start of chem.js 2022-08-02 14:23:35 -05:00
O-01-67 cab6db5a32
no thoughts, description empty 2022-08-01 15:56:47 -04:00
O-01-67 2affb7cb83
makes circular random events more destructive
* sets random pixel choices to randomChoices
* sets all radii ranges to 1-18
* compatible with paint_event.js
2022-07-29 21:10:12 -04:00
O-01-67 73dbda7919
Rename test2.js to amogus.js 2022-07-29 19:37:22 -04:00
O-01-67 cce2d36b34
Revamp
* Now uses structure_test.js (Room)'s method
* Now made from brick and glass
* Added Amogus Seed to generate it (this structure is small, so a simple behavior suffices; to use this method for bigger structures, you'll have to tweak the seed with a tailored tick function)
* Added color array and code to pull from it
2022-07-29 19:37:09 -04:00
O-01-67 45a7146b4a
tweak num 2022-07-28 21:08:19 -04:00
O-01-67 b6dc65da7d
New random event
Paint event: paints a random circle a random color
2022-07-28 21:07:32 -04:00
O-01-67 c85d8fefc0
clarify comment numbers 2022-07-24 17:40:26 -04:00
O-01-67 3babbfb0e4
mutual exclusions 2022-07-19 20:55:04 -04:00
O-01-67 3c40d37864
liquid void
yum
2022-07-19 20:53:11 -04:00
O-01-67 66801308dd
More gems
Yes, pearl melting is inaccurate.
Cry about it.
2022-07-19 20:40:15 -04:00
O-01-67 ad00e41f9c
more gems 2022-07-18 01:00:15 -04:00
O-01-67 f2ea974fdf
half-baked mod
Prompt is unkeybound: must call funniPrompt() in console

commands: set, test, fill, randomfill

> Usage: set [property] [element] [value] <type>
> Arguments are typed without framing characters.
> The element can be \"all\" to set the property for every pixel.
> Note: Strings can't have spaces because spaces are the separator used in the parsing split().
> Arguments in [brackets] are required and ones in <angle brackets> are optional."

> Usage: fill [overwrite (should be a bool)] [element] <additional elements>.
> Arguments in [brackets] are required and ones in <angle brackets> are optional.

> Usage: randomfill [overwrite (should be a bool) (default: true)]
> Arguments in [brackets] are required and ones in <angle brackets> are optional.
2022-07-09 22:53:38 -04:00
O-01-67 de0dc088ab
(Read description) Adds a find mode
It modifies drawPixels to add a "find mode" that causes the currently selected element to pulsate red and yellow. 
To toggle it, pull up the info for the element "find_toggle" and click the magenta text in the description.
2022-07-09 22:25:20 -04:00
O-01-67 b7bd1f216e
Rename functest.js to drawPixels_change_test.js 2022-07-08 22:32:50 -04:00
O-01-67 89abf3659d
function alteration test
suffixes a function to drawPixels that makes burning pixels have a red overlay like shocked pixels's yellow overlay
2022-07-08 22:31:12 -04:00
O-01-67 c0625c669a
two new mods
change.js: edit of replace.js, changes anything to a given element (behavior of The Powder Toy's replace mode)
triggerable_random_powders.js: adds 3 powders
one becomes a random element when heated, another does when cooled, and the third does when shocked
2022-07-08 22:29:08 -04:00
O-01-67 6abe462d68
Added clickable prompt spawner in description text
as a test
2022-07-06 23:23:38 -04:00
O-01-67 122045bf41
Adds a replacement tool (read desc)
It replaces an element with another.
Press " (quotes key) to open the prompt. It will ask for the element type you want to change, and then the element you want to change it to.
Then, use the replace tool and it will change all pixels of the first element you click/hold it on to the second element.
By default, it changes Rock to Sand.
2022-07-06 22:42:55 -04:00
slweeb a0da3cc160
Add files via upload 2022-07-06 19:15:42 -04:00
O-01-67 d3f5b2b55d
added fairy_chain.js functionality for gold fairies
to make it easier to blow up the gold cells
2022-07-03 20:40:18 -04:00
O-01-67 27fae74c86
fixed stray hard-coded variable 2022-07-03 20:38:17 -04:00
O-01-67 7358d8ff8f
new mod
* cell that makes a lot of heat
* meta-cancer
* cells that eat gold
2022-07-03 16:11:45 -04:00
O-01-67 58151e2e14
added testosterone undecanoate
apparently that's the form they use for mhrt
2022-06-29 22:17:26 -04:00
O-01-67 b391981e38
upd: overwrites pixels 2022-06-14 11:16:40 -04:00
O-01-67 8e012314f0
upd8
regenerates array on use
2022-06-14 11:12:29 -04:00
O-01-67 9f61dcaab3
histrelin state setting method causes bugs
fix
2022-06-14 11:03:36 -04:00
O-01-67 65b9187911
places all elements LtR TtB
use placeAll(number of elements)
2022-06-14 11:03:06 -04:00
O-01-67 3a784dc941
Slow down color tools 2022-06-14 09:59:15 -04:00
O-01-67 334d7e94f6
Please do not include this file in the mod list.
I don't know if it does anything, but I'm too scared to delete it.
2022-06-08 13:33:26 -04:00
O-01-67 c008afd790
New version with random exclusions
so it doesn't take over random
2022-06-08 13:27:52 -04:00
O-01-67 9c3baa7bd6
Delete nv7.js 2022-06-08 13:27:25 -04:00
O-01-67 58dfa9477f
Add placing capability
Read description

**Uses keyboard; not likely to work on mobile**

##Notes
This *will* move if you are typing in a menu, but not in an alert.
Non-shifted presses will behave *unpredictably* if there are multiple pixels.
Shift-hold presses will behave more predictably. Using multiple pixels is not supported.
The pixel has a state of "solid" and a density of 2. It might be able to move through liquids and gases according to this density.

##Controls##
WASD to move
Z to shock
X to explode
Hold shift to repeat action
Hold alt with movement keys to place the current element
* It cannot place itself
* You can also use Alt+H to place on the right
Q to reset keys (current action, shift status, alt status) if they get stuck
2022-05-25 09:14:19 -04:00